Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
This turns out more difficult than I thought.
The problem is a sibling case:
The call is valid unless module goal, the arrow is never valid.
The problem here lies in the way that I'm handling the "are we parsing async code"-state. In a nutshell either we are or we aren't parsing async code. This is fine for most cases, except this one, where we are parsing code that "might be async".
The problem is in
While parsing the parser mainly tracks whether or not the parsed content might be destructible, must be destructible, cannot be destructible, or can only be destructible through assignment.
If the code is async then a variable named
Just writing this out to get a better picture of the problem, and explain why it's not a nobrainer to solve :)