REPL accepts invalid input that starts with a valid complete expression #12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The first input is accepted and appears to evaluate to something nonsensical, because
12followed by something that is not in the follow set of12in expression is a valid complete expression.REPL should probably reject input that parses correctly without parsing the complete input, or at least provide a warning.