Open nasser opened 9 years ago
omg
You can create them, you just can't look at them (e.g. call seq
on them or use them or anything). It's similar to the ArraySeq
patch we landed a few months ago.
I still hate this bug. I hate it.
Yeah I don't even know what to do. It's a serious semantic difference and the standard library is designed without multidimensional arrays in mind. We'd need e.g. aget
to be variadic, and that's going to slow things down some.
Suggestion: Write C# helper functions that do the indexing and assignment into multidimensional arrays and call them using standard CLR interop?
Some Unity API methods depend on them:
This was mentioned five years ago on the wiki and is confirmed not working: