Remove unused thisReference argument to getSuperProperty. (#4520)
This commit is contained in:
parent
1fce4cb42a
commit
ec34e5acc7
@ -238,7 +238,6 @@ export default class ReplaceSupers {
|
|||||||
let property;
|
let property;
|
||||||
let computed;
|
let computed;
|
||||||
let args;
|
let args;
|
||||||
let thisReference;
|
|
||||||
|
|
||||||
let parent = path.parent;
|
let parent = path.parent;
|
||||||
let node = path.node;
|
let node = path.node;
|
||||||
@ -277,7 +276,7 @@ export default class ReplaceSupers {
|
|||||||
|
|
||||||
if (!property) return;
|
if (!property) return;
|
||||||
|
|
||||||
let superProperty = this.getSuperProperty(property, computed, thisReference);
|
let superProperty = this.getSuperProperty(property, computed);
|
||||||
|
|
||||||
if (args) {
|
if (args) {
|
||||||
return this.optimiseCall(superProperty, args);
|
return this.optimiseCall(superProperty, args);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user