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

3 lines
62 B
JavaScript

export const x = ({x}) => x;
export const y = function () {};