-
Notifications
You must be signed in to change notification settings - Fork 943
Open
Description
6 valid cases not correctly parsed.
async function f() {
await using in foo;
}
async function f() {
await using instanceof foo;
}
async function f() {
await using[x];
await using.x + await using(x) ? await using?.x : await using`x`;
}
for (using in []);
for (using.foo in []);
for (using().foo in []);
for (using``.foo in []);
using in using instanceof using;
{ using 𠮷 = foo(); }
1 invalid cases not rejected.
using x = bar();
Found during updating acorn in Prettier prettier/prettier#17580
Metadata
Metadata
Assignees
Labels
No labels