Closed jogibear9988 closed 1 year ago
This should now be covered too.
Unfortunately, not completely. Static private property and method declarations like
class X {
static #privateField = 'super';
static #getPrivateField() {
return X.#privateField;
}
}
are still parsed incorrectly as Identifier
s. (Interestingly, static private getters/setters are handled correctly. Non-static private declarations are ok as well.)
fixed in my pull, missed one parameter
Try this:
We do not create an instance of PrivateIdentifier. We create a normal node with "#" in the value