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

4 lines
70 B
JavaScript

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