-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewrite into try-expressions
#53
Conversation
98c9c1e
to
48301e7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exciting to see this proposal progressing 👍
I'm not especially familiar with the nuances of parsing JavaScript code, so this could be a non-issue, but I see a possible parsing ambiguity: is How does the parser tell them apart? (Presence or absence of You could explicitly require that try-expression be the right-hand side of an assignment, but that precludes things like let foo = {
a: try await bar(),
b: try await baz()
}; |
Co-authored-by: Jayden Carey <[email protected]>
Preview