{"action":"created","issue":{"url":"https://api.github.com/repos/google/closure-compiler/issues/3161","repository_url":"https://api.github.com/repos/google/closure-compiler","labels_url":"https://api.github.com/repos/google/closure-compiler/issues/3161/labels{/name}","comments_url":"https://api.github.com/repos/google/closure-compiler/issues/3161/comments","events_url":"https://api.github.com/repos/google/closure-compiler/issues/3161/events","html_url":"https://github.com/google/closure-compiler/issues/3161","id":386560663,"node_id":"MDU6SXNzdWUzODY1NjA2NjM=","number":3161,"title":"INTERNAL COMPILER ERROR when using generate exports","user":{"login":"ikabirov","id":9967995,"node_id":"MDQ6VXNlcjk5Njc5OTU=","avatar_url":"https://avatars0.githubusercontent.com/u/9967995?v=4","gravatar_id":"","url":"https://api.github.com/users/ikabirov","html_url":"https://github.com/ikabirov","followers_url":"https://api.github.com/users/ikabirov/followers","following_url":"https://api.github.com/users/ikabirov/following{/other_user}","gists_url":"https://api.github.com/users/ikabirov/gists{/gist_id}","starred_url":"https://api.github.com/users/ikabirov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikabirov/subscriptions","organizations_url":"https://api.github.com/users/ikabirov/orgs","repos_url":"https://api.github.com/users/ikabirov/repos","events_url":"https://api.github.com/users/ikabirov/events{/privacy}","received_events_url":"https://api.github.com/users/ikabirov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-02T13:39:20Z","updated_at":"2018-12-03T19:20:05Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"https://closure-compiler-debugger.appspot.com/#input0%3D%252F**%250A%2520*%2520%2540constructor%250A%2520*%2520%2540export%250A%2520*%252F%250Afunction%2520Foo()%2520%257B%250A%250A%257D%26input1%26conformanceConfig%26externs%26refasterjs-template%26CHECK_TYPES%3Dtrue%26TRANSPILE%3Dtrue%26CLOSURE_PASS%3Dtrue%26GENERATE_EXPORTS%3Dtrue%26PRESERVE_TYPE_ANNOTATIONS%3Dtrue%26PRETTY_PRINT%3Dtrue"},"comment":{"url":"https://api.github.com/repos/google/closure-compiler/issues/comments/443835230","html_url":"https://github.com/google/closure-compiler/issues/3161#issuecomment-443835230","issue_url":"https://api.github.com/repos/google/closure-compiler/issues/3161","id":443835230,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzgzNTIzMA==","user":{"login":"tjgq","id":4370077,"node_id":"MDQ6VXNlcjQzNzAwNzc=","avatar_url":"https://avatars3.githubusercontent.com/u/4370077?v=4","gravatar_id":"","url":"https://api.github.com/users/tjgq","html_url":"https://github.com/tjgq","followers_url":"https://api.github.com/users/tjgq/followers","following_url":"https://api.github.com/users/tjgq/following{/other_user}","gists_url":"https://api.github.com/users/tjgq/gists{/gist_id}","starred_url":"https://api.github.com/users/tjgq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjgq/subscriptions","organizations_url":"https://api.github.com/users/tjgq/orgs","repos_url":"https://api.github.com/users/tjgq/repos","events_url":"https://api.github.com/users/tjgq/events{/privacy}","received_events_url":"https://api.github.com/users/tjgq/received_events","type":"User","site_admin":false},"created_at":"2018-12-03T19:20:05Z","updated_at":"2018-12-03T19:20:05Z","author_association":"CONTRIBUTOR","body":"GENERATE_EXPORTS injects calls to `goog.exportSymbol`, so it needs Closure Library. Passing [`closure/goog/base.js`](https://github.com/google/closure-library/blob/master/closure/goog/base.js) to the compiler should fix this.\r\n\r\nNevertheless, the compiler should report an error instead of crashing.\r\n\r\nThis is Google internal issue b/68906742."}}
{"actor":{"display_login":"tjgq"}}