{"action":"created","issue":{"url":"https://api.github.com/repos/angular/clang-format/issues/14","labels_url":"https://api.github.com/repos/angular/clang-format/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/angular/clang-format/issues/14/comments","events_url":"https://api.github.com/repos/angular/clang-format/issues/14/events","html_url":"https://github.com/angular/clang-format/issues/14","id":88638576,"number":14,"title":"enum formatting","user":{"login":"vicb","id":248818,"avatar_url":"https://avatars.githubusercontent.com/u/248818?v=3","gravatar_id":"","url":"https://api.github.com/users/vicb","html_url":"https://github.com/vicb","followers_url":"https://api.github.com/users/vicb/followers","following_url":"https://api.github.com/users/vicb/following{/other_user}","gists_url":"https://api.github.com/users/vicb/gists{/gist_id}","starred_url":"https://api.github.com/users/vicb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vicb/subscriptions","organizations_url":"https://api.github.com/users/vicb/orgs","repos_url":"https://api.github.com/users/vicb/repos","events_url":"https://api.github.com/users/vicb/events{/privacy}","received_events_url":"https://api.github.com/users/vicb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-16T06:55:24Z","updated_at":"2015-06-17T06:36:23Z","closed_at":null,"body":"```\r\nenum TokenType {\r\n  CHARACTER,\r\n  IDENTIFIER,\r\n  KEYWORD,\r\n  STRING,\r\n  OPERATOR,\r\n  NUMBER\r\n}\r\n\r\n@Injectable() export class Lexer {\r\n} \r\n```\r\n\r\nshould be\r\n\r\n```\r\nenum TokenType {\r\n  CHARACTER,\r\n  IDENTIFIER,\r\n  KEYWORD,\r\n  STRING,\r\n  OPERATOR,\r\n  NUMBER\r\n}\r\n\r\n@Injectable() \r\nexport class Lexer {\r\n} \r\n```\r\n\r\nMost probably caused because there is \";\" after the enum - it would cause Dart to fail.\r\n\r\n/cc @mprobst \r\n"},"comment":{"url":"https://api.github.com/repos/angular/clang-format/issues/comments/112673307","html_url":"https://github.com/angular/clang-format/issues/14#issuecomment-112673307","issue_url":"https://api.github.com/repos/angular/clang-format/issues/14","id":112673307,"user":{"login":"vicb","id":248818,"avatar_url":"https://avatars.githubusercontent.com/u/248818?v=3","gravatar_id":"","url":"https://api.github.com/users/vicb","html_url":"https://github.com/vicb","followers_url":"https://api.github.com/users/vicb/followers","following_url":"https://api.github.com/users/vicb/following{/other_user}","gists_url":"https://api.github.com/users/vicb/gists{/gist_id}","starred_url":"https://api.github.com/users/vicb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vicb/subscriptions","organizations_url":"https://api.github.com/users/vicb/orgs","repos_url":"https://api.github.com/users/vicb/repos","events_url":"https://api.github.com/users/vicb/events{/privacy}","received_events_url":"https://api.github.com/users/vicb/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T06:36:23Z","updated_at":"2015-06-17T06:36:23Z","body":":+1: \r\n\r\nWe should still fix ts2dart to remove the optional \";\", right ?"}}