-
-
Notifications
You must be signed in to change notification settings - Fork 950
Parser: let.x; or let?.x; is parsed as 2 statements #16856
Copy link
Copy link
Labels
Description
Fixing #16839 surfaced another obscure bug.
let.x;
let?.x;These are each parsed as 2 statements - 1 x ExpressionStatement + 1 x EmptyStatement.
Once fixed, this idempotency test failure for oxc_codegen should be resolved:
| Normal: tasks/coverage/misc/pass/let-optional-chaining.cjs |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackPriority
None yet
Effort
None yet