{"action":"closed","issue":{"url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/69","labels_url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/69/comments","events_url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/69/events","html_url":"https://github.com/dart-lang/dev_compiler/issues/69","id":59253495,"number":69,"title":"Module names and class names can conflict in generated JS","user":{"login":"vsmenon","id":2119553,"avatar_url":"https://avatars.githubusercontent.com/u/2119553?v=3","gravatar_id":"","url":"https://api.github.com/users/vsmenon","html_url":"https://github.com/vsmenon","followers_url":"https://api.github.com/users/vsmenon/followers","following_url":"https://api.github.com/users/vsmenon/following{/other_user}","gists_url":"https://api.github.com/users/vsmenon/gists{/gist_id}","starred_url":"https://api.github.com/users/vsmenon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsmenon/subscriptions","organizations_url":"https://api.github.com/users/vsmenon/orgs","repos_url":"https://api.github.com/users/vsmenon/repos","events_url":"https://api.github.com/users/vsmenon/events{/privacy}","received_events_url":"https://api.github.com/users/vsmenon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/dev_compiler/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/dart-lang/dev_compiler/labels/js","name":"js","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-27T15:49:44Z","updated_at":"2015-03-02T15:10:52Z","closed_at":"2015-03-02T15:10:52Z","body":"This comes up in DeltaBlue and other benchmarks:\r\n\r\n    var BenchmarkBase;\r\n    (function(BenchmarkBase) {\r\n      ...\r\n      class BenchmarkBase extends dart.Object { ... }\r\n      ...\r\n\r\nRunning this triggers:\r\n\r\nlib/src/DeltaBlue/dart/ddc/BenchmarkBase/BenchmarkBase.js:65: SyntaxError: Identifier 'BenchmarkBase' has already been declared\r\n\r\nwhen the class is parsed by v8."}}