Returning a static array from a function.

Seems like it would be obvious, however this code will not compile:

function SomeType[2] GetMyStaticArray()

Compiler complains that the function is missing a name. What is the correct signature for returning a static array?

If you can’t return a static array, I guess you can’t return a static array. Can you make a struct that contains a static array and return that?

I imagine you would be able to. I feel like this is more of a compiler oversight. Not a big deal, i was just curious if there was an obvious issue with my example.