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
I don't think this should be an issue. Trying to apply this form of reasoning to error recovery is a entire rabbit warren of distractions. I think you are judging this on the basis of what you know the user intended, which of course the parser does not.
Making this work in the general case requires a different set of tradeoffs in the parser, and making it work in the specific case really is whack-a-mole.
The following file generates just one
ContractDefinition
node, when there should be two.Current output:
Note that also the first
function
is not parsed as such.Originally found in collaboration with @OmarTawfik in #1172 (comment)
The text was updated successfully, but these errors were encountered: