Closed itchyny closed 2 years ago
Ah good catch! I actually knew that label
, def
and binding patterns are no longer be in a child of operators and ignore it since it complicates the grammar definition a lot, but yeah looks like I should've implemented it.
Hmmmmmm handling try . as $a
in lalrpop would be further difficult.
It may be easier to make lexer insert markers at the end of the scope of label
, def
and ... as ...
, and maybe try
(without catch
)....
This looks like a regression due to switching to lalrpop.