Fix handling of class property value this in module transforms. (#9857)
Prevent module transforms from rewriting `this` to `void 0` when found in the values of private class properties. Add tests to prevent regressions.
This commit is contained in:
committed by
Nicolò Ribaudo
parent
e4072752bc
commit
f31c72f310
@@ -0,0 +1,3 @@
|
||||
class Example {
|
||||
#property = this;
|
||||
}
|
||||
Reference in New Issue
Block a user