You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***>node ***\typescript\lib\tsc.js cl.ts -t ES2015
***\typescript\lib\tsc.js:36955
throw e;
^
TypeError: Cannot read property 'id' of undefined
at Object.getNodeId (***\typescript\lib\tsc.js:13033:18)
at getGeneratedNameForNode (***\typescript\lib\tsc.js:30048:29)
at emitClassLikeDeclarationForES6AndHigher (***\typescript\lib\tsc.js:33600:37)
at emitClassLikeDeclaration (***\typescript\lib\tsc.js:33558:21)
at emitClassExpression (***\typescript\lib\tsc.js:33548:24)
at emitJavaScriptWorker (***\typescript\lib\tsc.js:35657:32)
at emitNodeWithoutSourceMap (***\typescript\lib\tsc.js:35465:21)
at emitNodeWithSourceMap (***\typescript\lib\tsc.js:35459:21)
at emitNodeConsideringCommentsOption (***\typescript\lib\tsc.js:35450:21)
at emit (***\typescript\lib\tsc.js:35433:17)
This could be related to #9969 Support emitting static properties for classes with no name
Also note that #9969 seems to imply polluting the global namespace with mangled variable names in ES2015 mode. I was trying to test that, and stumbled upon the crash.
The text was updated successfully, but these errors were encountered:
Looks like a duplicate of #9966. Could you try using the very latest tsc (node node_modules/typescript/lib/tsc.js --version should be Version 2.1.0-dev.20160729)?
TypeScript Version: npm typescript@next 2.1.0
Code
Expected behavior:
Not crash compiler
Actual behavior:
Crashes during compilation:
This could be related to #9969 Support emitting static properties for classes with no name
Also note that #9969 seems to imply polluting the global namespace with mangled variable names in ES2015 mode. I was trying to test that, and stumbled upon the crash.
The text was updated successfully, but these errors were encountered: