`export default class {}` breaks scope analysis
tchetwin opened this issue · comments
Thomas Chetwin commented
The lack of .id
in an export
ClassDeclaration causes a throw in scope analysis:
https://runkit.com/embed/rz8r6io0kclh (compares with and without providing a name)
The throw originates from:
Line 240 in a7eaba5
I suspect the fix might be the same as for FunctionDeclaration a couple of lines before, haven't verified this yet:
Line 235 in a7eaba5
Edit: I have a patch for this locally with a test, seeking approval to send the PR.
Max Heiber commented
pinging about this
Ashley Claymore commented
This appears to have been fixed by #467