Diogo Franco (Kovensky) ccf2f56085 Don't try to visit ArrowFunctionExpression, they cannot be named
They will still be visited if the arrow functions are transformed to regular
functions.

Fixes #5004
2016-12-16 11:14:47 +09:00

9 lines
138 B
JavaScript

const x = function x() {
return x;
};
const y = function y(x) {
return x();
};
const z = { z: function z() {
return y(x);
} }.z;