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
val should be rejected as an identifier, and it should fail to parse.
notes
Given that Scala supports infix and postfix expression, combination of expr identifier expr would be parsed as an infix expression, and since we don't reject val, def, etc a small mistake in the grammar ends up spreading widely.
The text was updated successfully, but these errors were encountered:
steps
problem
expectation
val
should be rejected as an identifier, and it should fail to parse.notes
Given that Scala supports infix and postfix expression, combination of
expr identifier expr
would be parsed as an infix expression, and since we don't rejectval
,def
, etc a small mistake in the grammar ends up spreading widely.The text was updated successfully, but these errors were encountered: