You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 15, 2023. It is now read-only.
Parsing past Eof can lead to infinite loops, as it violates the assumptions of the termination checker.
See: #540
This PR makes `Parser.next` assert false when called on Eof. This should not happen as one should check the token before calling `Parser.next`.
The one exception is during lookahead, for which we provide a `nextUnsafe` function which does not make progress.
0 commit comments