{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/9152","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/9152/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/9152/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/9152/events","html_url":"https://github.com/Microsoft/TypeScript/issues/9152","id":160119145,"number":9152,"title":"Cannot add decorators to anonymous class declarations","user":{"login":"jrieken","id":1794099,"avatar_url":"https://avatars.githubusercontent.com/u/1794099?v=3","gravatar_id":"","url":"https://api.github.com/users/jrieken","html_url":"https://github.com/jrieken","followers_url":"https://api.github.com/users/jrieken/followers","following_url":"https://api.github.com/users/jrieken/following{/other_user}","gists_url":"https://api.github.com/users/jrieken/gists{/gist_id}","starred_url":"https://api.github.com/users/jrieken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrieken/subscriptions","organizations_url":"https://api.github.com/users/jrieken/orgs","repos_url":"https://api.github.com/users/jrieken/repos","events_url":"https://api.github.com/users/jrieken/events{/privacy}","received_events_url":"https://api.github.com/users/jrieken/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-14T07:57:16Z","updated_at":"2016-06-14T17:12:02Z","closed_at":"2016-06-14T17:12:02Z","body":"<!--\r\nThank you for contributing to TypeScript! Please review this checklist\r\n       before submitting your issue.\r\n[ ] Many common issues and suggestions are addressed in the FAQ\r\n     https://github.com/Microsoft/TypeScript/wiki/FAQ\r\n[ ] Search for duplicates before logging new issues\r\n    https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&q=is%3Aissue\r\n[ ] Questions are best asked and answered at Stack Overflow\r\n    http://stackoverflow.com/questions/tagged/typescript\r\n\r\nFor bug reports, please include the information below.\r\n__________________________________________________________ -->\r\n\r\n**TypeScript Version:** \r\n\r\n1.8.9\r\n\r\n**Code**\r\n\r\n```ts\r\n// A self-contained demonstration of the problem follows...\r\n\r\nfunction deco() {\r\n\t\r\n}\r\n\r\nclass Foo {\r\n\t\r\n}\r\n\r\nlet a = class extends Foo {\r\n\tconstructor(@deco a:number) {\r\n\t\tsuper();\r\n\t}\r\n}\r\n```\r\n\r\n**Expected behavior:**\r\n\r\nI'd expect that I can add a the decorator in the anonymous class constructor\r\n\r\n**Actual behavior:** \r\n\r\nI get a compile error in the actor"}}
{"actor":{"display_login":"mhegazy"}}