/ go Public
cmd/compile: inappropriate suggested token in case of syntax error in "if" statement #47013
Issues related to the Go compiler and/or runtime.
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
What version of Go are you using (
Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
What did you do?
Compile the following program
What did you expect to see?
If a SimpleStmt is parsed, and the next token is not a semicolon, I expect the semicolon to be suggested in the error message.
What did you see instead?
The text was updated successfully, but these errors were encountered: