{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/3455","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/3455/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/3455/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/3455/events","html_url":"https://github.com/Microsoft/TypeScript/pull/3455","id":86748454,"number":3455,"title":"Emit awaiter arguments on new line","user":{"login":"weswigham","id":2932786,"avatar_url":"https://avatars.githubusercontent.com/u/2932786?v=3","gravatar_id":"","url":"https://api.github.com/users/weswigham","html_url":"https://github.com/weswigham","followers_url":"https://api.github.com/users/weswigham/followers","following_url":"https://api.github.com/users/weswigham/following{/other_user}","gists_url":"https://api.github.com/users/weswigham/gists{/gist_id}","starred_url":"https://api.github.com/users/weswigham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weswigham/subscriptions","organizations_url":"https://api.github.com/users/weswigham/orgs","repos_url":"https://api.github.com/users/weswigham/repos","events_url":"https://api.github.com/users/weswigham/events{/privacy}","received_events_url":"https://api.github.com/users/weswigham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-09T21:58:27Z","updated_at":"2015-06-09T21:58:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/3455","html_url":"https://github.com/Microsoft/TypeScript/pull/3455","diff_url":"https://github.com/Microsoft/TypeScript/pull/3455.diff","patch_url":"https://github.com/Microsoft/TypeScript/pull/3455.patch"},"body":"This is required because of an issue with the sourcemaps generated by the __awaiter wrapping - specifically, the arguments to it are accidentally included in the sourcemap.\r\n\r\nThe awaiter has a null sourcecode mapping, however the generator passed as the first argument does not. Having the remaining awaiter arguments on the same line as the last bracket for the generator resulted in the arguments being interpreted as non-null mappings. Changing the emit to emit the remaining arguments on the following line corrects this issue. As far as I know, there is no way to emit a null mapping on part of a line, so this is the solution."},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/110516890","html_url":"https://github.com/Microsoft/TypeScript/pull/3455#issuecomment-110516890","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/3455","id":110516890,"user":{"login":"msftclas","id":9287708,"avatar_url":"https://avatars.githubusercontent.com/u/9287708?v=3","gravatar_id":"","url":"https://api.github.com/users/msftclas","html_url":"https://github.com/msftclas","followers_url":"https://api.github.com/users/msftclas/followers","following_url":"https://api.github.com/users/msftclas/following{/other_user}","gists_url":"https://api.github.com/users/msftclas/gists{/gist_id}","starred_url":"https://api.github.com/users/msftclas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msftclas/subscriptions","organizations_url":"https://api.github.com/users/msftclas/orgs","repos_url":"https://api.github.com/users/msftclas/repos","events_url":"https://api.github.com/users/msftclas/events{/privacy}","received_events_url":"https://api.github.com/users/msftclas/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T21:58:31Z","updated_at":"2015-06-09T21:58:31Z","body":"Hi __@weswigham__, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!\r\n    <span>\r\n        This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.\r\n    </span>\r\n\r\nTTYL, MSBOT;\r\n"}}