add reference to issue #1920

This commit is contained in:
Sebastian McKenzie 2015-07-05 01:23:32 +02:00
parent 64903d0dcf
commit 76e954bc36

View File

@ -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) {