We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CONST A = ARRAY OF ARRAY OF INTEGER{ARRAY OF INTEGER{1}};
compiles but
CONST A = ARRAY OF ARRAY OF INTEGER{ARRAY OF INTEGER{}};
results in
*** *** runtime error: *** <*ASSERT*> failed. *** file "../src/exprs/ArrayExpr.m3", line 653 ***
This may be the same or a related bug:
TYPE R = RECORD a := 1 END; CONST B = ARRAY OF R{R{}}; CONST C = B[0].a; (* error: value is not constant *)
but
TYPE R = RECORD a := 1 END; CONST B = ARRAY OF R{R{1}}; CONST C = B[0].a; (* no error *)
The text was updated successfully, but these errors were encountered:
Test for
4ec48b9
Const Array Decl Bugs (#25), reported by darko20 on 03/24/2018.
Fix Const Array Decl Bugs (#25), reported by darko20 on 03/24/2018.
a6b9477
No branches or pull requests
CONST A = ARRAY OF ARRAY OF INTEGER{ARRAY OF INTEGER{1}};
compiles but
CONST A = ARRAY OF ARRAY OF INTEGER{ARRAY OF INTEGER{}};
results in
This may be the same or a related bug:
but
The text was updated successfully, but these errors were encountered: