{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/10778","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/10778/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/10778/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/10778/events","html_url":"https://github.com/Microsoft/TypeScript/issues/10778","id":175759079,"number":10778,"title":"Nightly error","user":{"login":"jods4","id":3832820,"avatar_url":"https://avatars.githubusercontent.com/u/3832820?v=3","gravatar_id":"","url":"https://api.github.com/users/jods4","html_url":"https://github.com/jods4","followers_url":"https://api.github.com/users/jods4/followers","following_url":"https://api.github.com/users/jods4/following{/other_user}","gists_url":"https://api.github.com/users/jods4/gists{/gist_id}","starred_url":"https://api.github.com/users/jods4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jods4/subscriptions","organizations_url":"https://api.github.com/users/jods4/orgs","repos_url":"https://api.github.com/users/jods4/repos","events_url":"https://api.github.com/users/jods4/events{/privacy}","received_events_url":"https://api.github.com/users/jods4/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Domain:%20Transforms","name":"Domain: Transforms","color":"006b75"}],"state":"closed","locked":false,"assignee":{"login":"rbuckton","id":3902892,"avatar_url":"https://avatars.githubusercontent.com/u/3902892?v=3","gravatar_id":"","url":"https://api.github.com/users/rbuckton","html_url":"https://github.com/rbuckton","followers_url":"https://api.github.com/users/rbuckton/followers","following_url":"https://api.github.com/users/rbuckton/following{/other_user}","gists_url":"https://api.github.com/users/rbuckton/gists{/gist_id}","starred_url":"https://api.github.com/users/rbuckton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbuckton/subscriptions","organizations_url":"https://api.github.com/users/rbuckton/orgs","repos_url":"https://api.github.com/users/rbuckton/repos","events_url":"https://api.github.com/users/rbuckton/events{/privacy}","received_events_url":"https://api.github.com/users/rbuckton/received_events","type":"User","site_admin":false},"assignees":[{"login":"rbuckton","id":3902892,"avatar_url":"https://avatars.githubusercontent.com/u/3902892?v=3","gravatar_id":"","url":"https://api.github.com/users/rbuckton","html_url":"https://github.com/rbuckton","followers_url":"https://api.github.com/users/rbuckton/followers","following_url":"https://api.github.com/users/rbuckton/following{/other_user}","gists_url":"https://api.github.com/users/rbuckton/gists{/gist_id}","starred_url":"https://api.github.com/users/rbuckton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbuckton/subscriptions","organizations_url":"https://api.github.com/users/rbuckton/orgs","repos_url":"https://api.github.com/users/rbuckton/repos","events_url":"https://api.github.com/users/rbuckton/events{/privacy}","received_events_url":"https://api.github.com/users/rbuckton/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Microsoft/TypeScript/milestones/20","html_url":"https://github.com/Microsoft/TypeScript/milestones/TypeScript%202.1","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/milestones/20/labels","id":1601840,"number":20,"title":"TypeScript 2.1","description":"","creator":{"login":"mhegazy","id":8000722,"avatar_url":"https://avatars.githubusercontent.com/u/8000722?v=3","gravatar_id":"","url":"https://api.github.com/users/mhegazy","html_url":"https://github.com/mhegazy","followers_url":"https://api.github.com/users/mhegazy/followers","following_url":"https://api.github.com/users/mhegazy/following{/other_user}","gists_url":"https://api.github.com/users/mhegazy/gists{/gist_id}","starred_url":"https://api.github.com/users/mhegazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhegazy/subscriptions","organizations_url":"https://api.github.com/users/mhegazy/orgs","repos_url":"https://api.github.com/users/mhegazy/repos","events_url":"https://api.github.com/users/mhegazy/events{/privacy}","received_events_url":"https://api.github.com/users/mhegazy/received_events","type":"User","site_admin":false},"open_issues":209,"closed_issues":50,"state":"open","created_at":"2016-02-24T06:32:42Z","updated_at":"2016-09-09T02:49:28Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-09-08T13:51:06Z","updated_at":"2016-09-09T02:49:28Z","closed_at":"2016-09-09T02:49:28Z","body":"After @mhegazy's [comment](https://github.com/Microsoft/TypeScript/issues/1664#issuecomment-245340547) I wanted to give the new codegen a try and downloaded `2.1.0-dev.20160907` (I am currently using Babel js).\r\n\r\nThe result on my codebase is a compiler crash:\r\n```\r\nTypeError: Cannot read property 'text' of undefined\r\n    at addExportMemberAssignmentsForBindingName (D:\\****\\node_modules\\typescript\\lib\\typescript.js:45135:95)\r\n    at addExportMemberAssignmentsForBindingName (D:\\****\\node_modules\\typescript\\lib\\typescript.js:45131:21)\r\n    at visitVariableStatement (D:\\****\\node_modules\\typescript\\lib\\typescript.js:45119:17)\r\n    at visitor (D:\\****\\node_modules\\typescript\\lib\\typescript.js:44882:28)\r\n    at Object.visitNodes (D:\\****\\node_modules\\typescript\\lib\\typescript.js:40012:48)\r\n    at transformAsynchronousModuleBody (D:\\****\\node_modules\\typescript\\lib\\typescript.js:44836:40)\r\n    at transformAsynchronousModule (D:\\****\\node_modules\\typescript\\lib\\typescript.js:44822:41)\r\n    at transformAMDModule (D:\\****\\node_modules\\typescript\\lib\\typescript.js:44757:20)\r\n    at transformSourceFile (D:\\****\\node_modules\\typescript\\lib\\typescript.js:44719:31)\r\n    at D:\\****\\node_modules\\typescript\\lib\\typescript.js:51196:89\r\n```\r\n\r\nI am sorry but I can't put up a repro our codebase is large and confidential :("}}
{"actor":{"display_login":"rbuckton"}}