Closed jakubtomsu closed 2 months ago
This might be related to https://github.com/odin-lang/Odin/issues/3514 because the compiler attempts to use the internal pointers as members in the initializer list
This issue and #3514 are actually unrelated since they can be handled completely differently.
Context
Current Behavior
The current SOA slice initializer list errors are incorrect, unlike fixed arrays and dynamic arrays.
This code results in:
However, fixed and dynamic SOA arrays let the user know compound literals just aren't supported: