add missing FunctionExpression conversion when wrapping a function expression in a call for async to generator helper - fixes #2325
This commit is contained in:
parent
392b7b0333
commit
3b301c88da
@ -45,6 +45,8 @@ export default function (path, callId) {
|
||||
declar._blockHoist = true;
|
||||
return declar;
|
||||
} else {
|
||||
node.type = "FunctionExpression";
|
||||
|
||||
if (id) {
|
||||
var state = { id };
|
||||
path.traverse(referenceVisitor, state);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user