{"action":"created","issue":{"url":"https://api.github.com/repos/angular/ts2dart/issues/13","labels_url":"https://api.github.com/repos/angular/ts2dart/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/angular/ts2dart/issues/13/comments","events_url":"https://api.github.com/repos/angular/ts2dart/issues/13/events","html_url":"https://github.com/angular/ts2dart/issues/13","id":62587330,"number":13,"title":"Strip FINAL, CONST and ABSTRACT annotations from Dart output","user":{"login":"yjbanov","id":211513,"avatar_url":"https://avatars.githubusercontent.com/u/211513?v=3","gravatar_id":"","url":"https://api.github.com/users/yjbanov","html_url":"https://github.com/yjbanov","followers_url":"https://api.github.com/users/yjbanov/followers","following_url":"https://api.github.com/users/yjbanov/following{/other_user}","gists_url":"https://api.github.com/users/yjbanov/gists{/gist_id}","starred_url":"https://api.github.com/users/yjbanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yjbanov/subscriptions","organizations_url":"https://api.github.com/users/yjbanov/orgs","repos_url":"https://api.github.com/users/yjbanov/repos","events_url":"https://api.github.com/users/yjbanov/events{/privacy}","received_events_url":"https://api.github.com/users/yjbanov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-18T04:36:47Z","updated_at":"2015-04-01T19:03:29Z","closed_at":"2015-04-01T18:35:22Z","body":"They pollute Dart code. Example:\r\n\r\nThis:\r\n\r\n```\r\nimport {\r\n  CONST, FINAL, ABSTRACT\r\n} from 'angular2/src/facade/lang';\r\n\r\n@ABSTRACT()\r\nclass Blah {\r\n  @FINAL()\r\n  i;\r\n\r\n  @CONST()\r\n  constructor(a) {\r\n    this.i = a;\r\n  }\r\n}\r\n```\r\n\r\nTranspiles to this:\r\n\r\n```\r\nlibrary angular2.blah_dart;\r\nimport 'package:angular2/src/facade/lang.dart' show CONST, FINAL, ABSTRACT;\r\n\r\n@ABSTRACT() \r\nclass Blah {\r\n  final i;\r\n  @CONST() \r\n  const Blah( a): i = a;\r\n}\r\n```\r\n\r\n(@FINAL is removed but still imported unnecessarily)\r\n"},"comment":{"url":"https://api.github.com/repos/angular/ts2dart/issues/comments/88596146","html_url":"https://github.com/angular/ts2dart/issues/13#issuecomment-88596146","issue_url":"https://api.github.com/repos/angular/ts2dart/issues/13","id":88596146,"user":{"login":"kevmoo","id":17034,"avatar_url":"https://avatars.githubusercontent.com/u/17034?v=3","gravatar_id":"","url":"https://api.github.com/users/kevmoo","html_url":"https://github.com/kevmoo","followers_url":"https://api.github.com/users/kevmoo/followers","following_url":"https://api.github.com/users/kevmoo/following{/other_user}","gists_url":"https://api.github.com/users/kevmoo/gists{/gist_id}","starred_url":"https://api.github.com/users/kevmoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevmoo/subscriptions","organizations_url":"https://api.github.com/users/kevmoo/orgs","repos_url":"https://api.github.com/users/kevmoo/repos","events_url":"https://api.github.com/users/kevmoo/events{/privacy}","received_events_url":"https://api.github.com/users/kevmoo/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T19:03:29Z","updated_at":"2015-04-01T19:03:29Z","body":"@mprobst Now you need to strip the imports. :smile: "}}