CosmosOS / Cosmos

Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more!
https://www.goCosmos.org
BSD 3-Clause "New" or "Revised" License
2.94k stars 552 forks source link

int[,] array causes NASM.EXE to exit code 1 #1257

Closed snoglobe closed 4 years ago

snoglobe commented 4 years ago

Area of Cosmos - What area of Cosmos are we dealing with?

Nasm? I'm not completely sure.

Expected Behaviour - What do you think that should happen?

It runs and I can use my 2d int array.

Actual Behaviour - What unexpectedly happens?

Nasm exits with code 1.

Reproduction - How did you get this error to appear?

Using a int[,] array.

Version - Were you using the User Kit or Dev Kit? And what User Kit version or Dev Kit commit (Cosmos, IL2CPU, X#)?

Latest user kit.

charlesbetros commented 4 years ago

Multi-dimensional arrays are not currently supported. You can use jagged arrays instead.