Should have compiler error for assigning to an item in an uninitialized memory array #10002
Labels
closed due inactivity
The issue/PR was automatically closed due to inactivity.
language design
Any changes to the language, e.g. new features
stale
The issue/PR was marked as stale because it has been open for too long.
Projects
The following code compiles without error but it seems to me that the compiler should throw an error because the generated runtime code does not work:
It seems to me that it should be a compile error to assign a value to an item in an uninitialized memory array, because it doesn't work at runtime.
The text was updated successfully, but these errors were encountered: