Replies: 1 comment
-
Looks like a parse error (so nothing about types or missing invariants). Can you minimize your file and share the result? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm getting an "invalid AssertStmt" error on parse, which is highlighted in VS Code on the line below
assert u == Factorial(r)
.u
is defined as an int in the function and the output ofFactorial(r)
should also be an int for input intr
, so I'm unsure why the error exists. Is there a necessary invariant somewhere else I need to set, or something I'm just not noticing?Beta Was this translation helpful? Give feedback.
All reactions