Closed
Description
// @target: esnext
// @noImplicitAny: false
class C {
static static
foo() {}
}
Here, ASI needs to take effect and the parse should be a class with two members: a static property named "static", and an instance method named "foo".
Expected
No errors. The file is parsed as
class C {
static static;
foo() {}
}
Actual
'static' modifier already seen.