330 B
330 B
Fix ASI protection for private fields (#10334 by @thorn0)
// Input
class C {
#field = 'value';
["method"]() {}
}
// Prettier stable (with --no-semi)
class C {
#field = "value"
["method"]() {}
}
// Prettier main (with --no-semi)
class C {
#field = "value";
["method"]() {}
}