-
Notifications
You must be signed in to change notification settings - Fork 440
New issue
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
Repeated asserts are ignored? #181
Comments
For comparison, this works correctly and yields an assert true;
assert false;
null |
And this might be a parser bug? [
assert true;
assert false;
] yields If there is a value in the list after the last assert it parses correctly, but the repeated asserts are still ignored. |
{ assert true, assert false } is a bug assert true; assert false; null is WAI the last case is WAI as a parse error, because arrays do not have self or get extended, you don't get to put assert in them like you can with objects. You can however use assert expressions within array elements or outside the array. I will look into the first case... |
Cool - thanks for the explanation! |
Note also #185 but that's more of an edge case. |
Is this expected behavior somehow?
The text was updated successfully, but these errors were encountered: