{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/26586","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/26586/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/26586/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/26586/events","html_url":"https://github.com/Microsoft/TypeScript/issues/26586","id":352725370,"node_id":"MDU6SXNzdWUzNTI3MjUzNzA=","number":26586,"title":"Related error spans on non-async functions containing 'await'","user":{"login":"DanielRosenwasser","id":972891,"node_id":"MDQ6VXNlcjk3Mjg5MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/972891?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielRosenwasser","html_url":"https://github.com/DanielRosenwasser","followers_url":"https://api.github.com/users/DanielRosenwasser/followers","following_url":"https://api.github.com/users/DanielRosenwasser/following{/other_user}","gists_url":"https://api.github.com/users/DanielRosenwasser/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielRosenwasser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielRosenwasser/subscriptions","organizations_url":"https://api.github.com/users/DanielRosenwasser/orgs","repos_url":"https://api.github.com/users/DanielRosenwasser/repos","events_url":"https://api.github.com/users/DanielRosenwasser/events{/privacy}","received_events_url":"https://api.github.com/users/DanielRosenwasser/received_events","type":"User","site_admin":false},"labels":[{"id":306530502,"node_id":"MDU6TGFiZWwzMDY1MzA1MDI=","url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Domain:%20Error%20Messages","name":"Domain: Error Messages","color":"fef2c0","default":false},{"id":966132964,"node_id":"MDU6TGFiZWw5NjYxMzI5NjQ=","url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Domain:%20Related%20Error%20Spans","name":"Domain: Related Error Spans","color":"2bdb6c","default":false},{"id":1023321108,"node_id":"MDU6TGFiZWwxMDIzMzIxMTA4","url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Experience%20Enhancement","name":"Experience Enhancement","color":"556677","default":false},{"id":265374716,"node_id":"MDU6TGFiZWwyNjUzNzQ3MTY=","url":"https://api.github.com/repos/Microsoft/TypeScript/labels/good%20first%20issue","name":"good first issue","color":"7944ba","default":true},{"id":117630704,"node_id":"MDU6TGFiZWwxMTc2MzA3MDQ=","url":"https://api.github.com/repos/Microsoft/TypeScript/labels/help%20wanted","name":"help wanted","color":"009800","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Microsoft/TypeScript/milestones/2","html_url":"https://github.com/Microsoft/TypeScript/milestone/2","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/milestones/2/labels","id":721044,"node_id":"MDk6TWlsZXN0b25lNzIxMDQ0","number":2,"title":"Community","description":"Issues in the 'Community' milestone are ones which we are accepting pull requests for","creator":{"login":"RyanCavanaugh","id":6685088,"node_id":"MDQ6VXNlcjY2ODUwODg=","avatar_url":"https://avatars3.githubusercontent.com/u/6685088?v=4","gravatar_id":"","url":"https://api.github.com/users/RyanCavanaugh","html_url":"https://github.com/RyanCavanaugh","followers_url":"https://api.github.com/users/RyanCavanaugh/followers","following_url":"https://api.github.com/users/RyanCavanaugh/following{/other_user}","gists_url":"https://api.github.com/users/RyanCavanaugh/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanCavanaugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanCavanaugh/subscriptions","organizations_url":"https://api.github.com/users/RyanCavanaugh/orgs","repos_url":"https://api.github.com/users/RyanCavanaugh/repos","events_url":"https://api.github.com/users/RyanCavanaugh/events{/privacy}","received_events_url":"https://api.github.com/users/RyanCavanaugh/received_events","type":"User","site_admin":false},"open_issues":543,"closed_issues":97,"state":"open","created_at":"2014-07-14T23:24:58Z","updated_at":"2018-10-03T17:29:00Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-08-21T21:55:13Z","updated_at":"2018-10-04T09:52:32Z","closed_at":null,"author_association":"MEMBER","body":"https://twitter.com/sebmck/status/1031974060832436224\r\n\r\nEven though we provide a quick fix, it'd be great if we could provide a related span describing a fix on a containing function. Something like\r\n\r\n```\r\nDid you mean to mark this function as 'async'?\r\n```"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/426956530","html_url":"https://github.com/Microsoft/TypeScript/issues/26586#issuecomment-426956530","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/26586","id":426956530,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjk1NjUzMA==","user":{"login":"LasaleFamine","id":13070349,"node_id":"MDQ6VXNlcjEzMDcwMzQ5","avatar_url":"https://avatars1.githubusercontent.com/u/13070349?v=4","gravatar_id":"","url":"https://api.github.com/users/LasaleFamine","html_url":"https://github.com/LasaleFamine","followers_url":"https://api.github.com/users/LasaleFamine/followers","following_url":"https://api.github.com/users/LasaleFamine/following{/other_user}","gists_url":"https://api.github.com/users/LasaleFamine/gists{/gist_id}","starred_url":"https://api.github.com/users/LasaleFamine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LasaleFamine/subscriptions","organizations_url":"https://api.github.com/users/LasaleFamine/orgs","repos_url":"https://api.github.com/users/LasaleFamine/repos","events_url":"https://api.github.com/users/LasaleFamine/events{/privacy}","received_events_url":"https://api.github.com/users/LasaleFamine/received_events","type":"User","site_admin":false},"created_at":"2018-10-04T09:52:32Z","updated_at":"2018-10-04T09:52:32Z","author_association":"NONE","body":"I would like to take this one if @akshita31 drop it.\r\n\r\n@DanielRosenwasser do you mean to add this within the [diagnostic error messages](https://github.com/Microsoft/TypeScript/blob/13bc46d9707036928e51be91d8d6aeaf95e63132/src/services/codefixes/fixAwaitInSyncFunction.ts#L4) or add a new message as info?"}}
{"actor":{"display_login":"LasaleFamine"}}