use class ref instead of class name when adding class super native constructor call - fixes #1358
This commit is contained in:
@@ -347,7 +347,7 @@ class ClassTransformer {
|
||||
if (this.isNativeSuper) helperName = "class-super-native-constructor-call";
|
||||
constructorBody.body.push(util.template(helperName, {
|
||||
NATIVE_REF: this.nativeSuperRef,
|
||||
CLASS_NAME: className,
|
||||
CLASS_NAME: this.classRef,
|
||||
SUPER_NAME: this.superName
|
||||
}, true));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user