Skip to content

program doesn't parse #1836

Answered by cpitclaudel
pamelazave asked this question in Q&A
Feb 17, 2022 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

You have an assert between your if and your else, which is not valid syntax:

if A {
  …
}
assert B;
else {
  …
}

For this sort of bugs, I would recommend trying to minimize your program: it quickly makes it clear where the error comes from.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@pamelazave
Comment options

@cpitclaudel
Comment options

@pamelazave
Comment options

Answer selected by pamelazave
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants