Remove unused thisReference argument to getSuperProperty. (#4520)

This commit is contained in:
Brian Donovan 2016-09-17 19:47:52 -07:00 committed by Henry Zhu
parent 1fce4cb42a
commit ec34e5acc7

View File

@ -238,7 +238,6 @@ export default class ReplaceSupers {
let property;
let computed;
let args;
let thisReference;
let parent = path.parent;
let node = path.node;
@ -277,7 +276,7 @@ export default class ReplaceSupers {
if (!property) return;
let superProperty = this.getSuperProperty(property, computed, thisReference);
let superProperty = this.getSuperProperty(property, computed);
if (args) {
return this.optimiseCall(superProperty, args);