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 has been archived by the owner on Oct 18, 2021. It is now read-only.
This gets converted into the following token stream:
( let x =$end $in )
As a result, we report on an unexpected end of block, rather than an unexpected closing parenthesis. This is because of the termination rules - ) closes the opening (, and so pops all parent contexts.
We need to keep the termination rules in some form - they're easier to manage than explicitly writing every single state transition in the context system. However, I think it's worth reviewing when implicit tokens are inserted, and if they should be inserted at all.
The text was updated successfully, but these errors were encountered:
Consider the following expression:
This gets converted into the following token stream:
As a result, we report on an unexpected end of block, rather than an unexpected closing parenthesis. This is because of the termination rules -
)
closes the opening(
, and so pops all parent contexts.We need to keep the termination rules in some form - they're easier to manage than explicitly writing every single state transition in the context system. However, I think it's worth reviewing when implicit tokens are inserted, and if they should be inserted at all.
The text was updated successfully, but these errors were encountered: