Fix reused nodes - part 1 (#7149)
This commit is contained in:
committed by
Nicolò Ribaudo
parent
63ae923987
commit
912bcc186d
@@ -118,7 +118,7 @@ export default function(api, options) {
|
||||
contextLiteral = t.thisExpression();
|
||||
}
|
||||
|
||||
node.arguments.unshift(contextLiteral);
|
||||
node.arguments.unshift(t.cloneNode(contextLiteral));
|
||||
},
|
||||
|
||||
NewExpression(path, state) {
|
||||
|
||||
Reference in New Issue
Block a user