{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7093","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7093/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7093/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7093/events","html_url":"https://github.com/Microsoft/TypeScript/issues/7093","id":133955203,"number":7093,"title":"Compiler prints duplicate lines in output window","user":{"login":"NoelAbrahams","id":1106823,"avatar_url":"https://avatars.githubusercontent.com/u/1106823?v=3","gravatar_id":"","url":"https://api.github.com/users/NoelAbrahams","html_url":"https://github.com/NoelAbrahams","followers_url":"https://api.github.com/users/NoelAbrahams/followers","following_url":"https://api.github.com/users/NoelAbrahams/following{/other_user}","gists_url":"https://api.github.com/users/NoelAbrahams/gists{/gist_id}","starred_url":"https://api.github.com/users/NoelAbrahams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoelAbrahams/subscriptions","organizations_url":"https://api.github.com/users/NoelAbrahams/orgs","repos_url":"https://api.github.com/users/NoelAbrahams/repos","events_url":"https://api.github.com/users/NoelAbrahams/events{/privacy}","received_events_url":"https://api.github.com/users/NoelAbrahams/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Bug","name":"Bug","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"paulvanbrenk","id":5273975,"avatar_url":"https://avatars.githubusercontent.com/u/5273975?v=3","gravatar_id":"","url":"https://api.github.com/users/paulvanbrenk","html_url":"https://github.com/paulvanbrenk","followers_url":"https://api.github.com/users/paulvanbrenk/followers","following_url":"https://api.github.com/users/paulvanbrenk/following{/other_user}","gists_url":"https://api.github.com/users/paulvanbrenk/gists{/gist_id}","starred_url":"https://api.github.com/users/paulvanbrenk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulvanbrenk/subscriptions","organizations_url":"https://api.github.com/users/paulvanbrenk/orgs","repos_url":"https://api.github.com/users/paulvanbrenk/repos","events_url":"https://api.github.com/users/paulvanbrenk/events{/privacy}","received_events_url":"https://api.github.com/users/paulvanbrenk/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Microsoft/TypeScript/milestones/19","html_url":"https://github.com/Microsoft/TypeScript/milestones/TypeScript%201.8.2","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/milestones/19/labels","id":1549707,"number":19,"title":"TypeScript 1.8.2","description":"","creator":{"login":"mhegazy","id":8000722,"avatar_url":"https://avatars.githubusercontent.com/u/8000722?v=3","gravatar_id":"","url":"https://api.github.com/users/mhegazy","html_url":"https://github.com/mhegazy","followers_url":"https://api.github.com/users/mhegazy/followers","following_url":"https://api.github.com/users/mhegazy/following{/other_user}","gists_url":"https://api.github.com/users/mhegazy/gists{/gist_id}","starred_url":"https://api.github.com/users/mhegazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhegazy/subscriptions","organizations_url":"https://api.github.com/users/mhegazy/orgs","repos_url":"https://api.github.com/users/mhegazy/repos","events_url":"https://api.github.com/users/mhegazy/events{/privacy}","received_events_url":"https://api.github.com/users/mhegazy/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":51,"state":"open","created_at":"2016-01-28T19:01:30Z","updated_at":"2016-02-16T19:20:55Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-02-16T11:26:33Z","updated_at":"2016-02-16T19:35:26Z","closed_at":null,"body":"Hi,\r\n\r\n**Version:** VS 2015/TS 1.8 \r\n\r\nThis is an obvious bug so may have been reported earlier, but I couldn't find anything.\r\n\r\nAdd a new TS project in Visual Studio and add the following (erroneous) code:\r\n\r\n```typescript\r\nclass Greeter {\r\n\r\n    constructor(element: HTMLElement) {\r\n        this.foo = 'foo';\r\n    }\r\n}\r\n```\r\n\r\nCompiling this results in the following build output:\r\n\r\n```\r\n1>------ Rebuild All started: Project: TypeScriptHTMLApp1, Configuration: Debug Any CPU ------\r\n1>C:\\TypeScriptHTMLApp1\\app.ts(4,14): error TS2339: Build: Property 'foo' does not exist on type 'Greeter'.\r\n1>C:\\TypeScriptHTMLApp1\\app.ts(4,14): error TS2339: Build: Property 'foo' does not exist on type 'Greeter'.\r\n========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========\r\n```\r\n\r\nThe error is printed in duplicate. This can be a significant nuisance in a solution with a large number of projects."},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/184845743","html_url":"https://github.com/Microsoft/TypeScript/issues/7093#issuecomment-184845743","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7093","id":184845743,"user":{"login":"paulvanbrenk","id":5273975,"avatar_url":"https://avatars.githubusercontent.com/u/5273975?v=3","gravatar_id":"","url":"https://api.github.com/users/paulvanbrenk","html_url":"https://github.com/paulvanbrenk","followers_url":"https://api.github.com/users/paulvanbrenk/followers","following_url":"https://api.github.com/users/paulvanbrenk/following{/other_user}","gists_url":"https://api.github.com/users/paulvanbrenk/gists{/gist_id}","starred_url":"https://api.github.com/users/paulvanbrenk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulvanbrenk/subscriptions","organizations_url":"https://api.github.com/users/paulvanbrenk/orgs","repos_url":"https://api.github.com/users/paulvanbrenk/repos","events_url":"https://api.github.com/users/paulvanbrenk/events{/privacy}","received_events_url":"https://api.github.com/users/paulvanbrenk/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T19:35:26Z","updated_at":"2016-02-16T19:35:26Z","body":"This is an issue in the compiler, when you run `C:\\Program Files (x86)\\Microsoft SDKs\\TypeScript\\1.8\\tsc.exe  --sourcemap --target ES5 --noEmitOnError --locale en-US \"app.ts\"` the error is printed twice..."}}