Closed
Description
After @mhegazy's comment I wanted to give the new codegen a try and downloaded 2.1.0-dev.20160907
(I am currently using Babel js).
The result on my codebase is a compiler crash:
TypeError: Cannot read property 'text' of undefined
at addExportMemberAssignmentsForBindingName (D:\****\node_modules\typescript\lib\typescript.js:45135:95)
at addExportMemberAssignmentsForBindingName (D:\****\node_modules\typescript\lib\typescript.js:45131:21)
at visitVariableStatement (D:\****\node_modules\typescript\lib\typescript.js:45119:17)
at visitor (D:\****\node_modules\typescript\lib\typescript.js:44882:28)
at Object.visitNodes (D:\****\node_modules\typescript\lib\typescript.js:40012:48)
at transformAsynchronousModuleBody (D:\****\node_modules\typescript\lib\typescript.js:44836:40)
at transformAsynchronousModule (D:\****\node_modules\typescript\lib\typescript.js:44822:41)
at transformAMDModule (D:\****\node_modules\typescript\lib\typescript.js:44757:20)
at transformSourceFile (D:\****\node_modules\typescript\lib\typescript.js:44719:31)
at D:\****\node_modules\typescript\lib\typescript.js:51196:89
I am sorry but I can't put up a repro our codebase is large and confidential :(