Closed karl-zylinski closed 2 weeks ago
Odin: dev-2024-06:a619ea3bc OS: Windows 10 Professional (version: 22H2), build 19045.4529 CPU: Intel(R) Core(TM) i7-6950X CPU @ 3.00GHz RAM: 32674 MiB Backend: LLVM 17.0.1
This should work:
TEST :: [3]f32 {1,2,3} hi := -TEST
This fails to compile:
with this error: Error: Invalid type, '[3]f32', for constant unary expression '-TEST'
Error: Invalid type, '[3]f32', for constant unary expression '-TEST'
I'm 90% sure this has worked in the past. I could be wrong though!
Context
Expected Behavior
This should work:
Current Behavior
This fails to compile:
with this error:
Error: Invalid type, '[3]f32', for constant unary expression '-TEST'
I'm 90% sure this has worked in the past. I could be wrong though!