contextLiteral fallback in es6-spread transformer
This commit is contained in:
@@ -83,6 +83,8 @@ exports.CallExpression = function (node, parent, file, scope) {
|
||||
if (temp) {
|
||||
callee.object = t.assignmentExpression("=", temp, callee.object);
|
||||
contextLiteral = temp;
|
||||
} else {
|
||||
contextLiteral = callee.object;
|
||||
}
|
||||
t.appendToMemberExpression(callee, t.identifier("apply"));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user