add reference to issue #1920
This commit is contained in:
parent
64903d0dcf
commit
76e954bc36
@ -53,6 +53,7 @@ var verifyConstructorVisitor = {
|
||||
ThisExpression(node, parent, scope, state) {
|
||||
if (state.isDerived && !state.hasBareSuper) {
|
||||
if (this.inShadow()) {
|
||||
// https://github.com/babel/babel/issues/1920
|
||||
var thisAlias = state.constructorPath.getData("this");
|
||||
|
||||
if (!thisAlias) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user