Describe your changes
This change defends against a ASI hazard. When a computed class member name has a leading type modifier (public/private/protected/readonly/override) a ; is inserted in it's place to avoid being interpreted as index lookup of the previous class member. For example:
class C {
f = 1
public ["computed"] = 2
}
now becomes:
class C {
f = 1
; ["computed"] = 2
}
Testing performed
New test fixtures have been added and all ecosystem tests were run. All tests passing.
Fixes #21
Describe your changes This change defends against a ASI hazard. When a computed class member name has a leading type modifier (
public/private/protected/readonly/override
) a;
is inserted in it's place to avoid being interpreted as index lookup of the previous class member. For example:now becomes:
Testing performed New test fixtures have been added and all ecosystem tests were run. All tests passing.