Closed Vinillia closed 8 months ago
Thanks for the test case. This doesn't crash for me anymore, but it does have terrible error messages. I've added a test case and cleaned up the diagnostics:
fail-array-decl-with-zero-enum-value.sp(8) : error 009: invalid array size (negative, zero or out of bounds)
8 | int value[Pl_MAX];
-----------------------^
Code below seems valid but compiler throws "Internal error"