esrefactor icon indicating copy to clipboard operation
esrefactor copied to clipboard

Uncaught TypeError: Cannot read property 'name' of undefined

Open trevorhreed opened this issue 9 years ago • 0 comments

Line reference: esrefactor.js:76 (although, looking at the most recent version of your code, it would appear the line number there would be 73).

This problem is occurring in the js-refactor plugin for the Atom editor, but appears to be an issue specifically with this library.

Apparently, it is being caused by the arguments keyword, which makes sense, since that has no declaration, and the offending line is in the locateDeclaration(...) function.

trevorhreed avatar Mar 21 '16 18:03 trevorhreed