{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4511","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4511/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4511/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4511/events","html_url":"https://github.com/Microsoft/TypeScript/issues/4511","id":103617584,"number":4511,"title":"Debug failure in LS when pasting following code snippet in .tsx file","user":{"login":"DanielRosenwasser","id":972891,"avatar_url":"https://avatars.githubusercontent.com/u/972891?v=3","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":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Bug","name":"Bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":{"login":"vladima","id":8052307,"avatar_url":"https://avatars.githubusercontent.com/u/8052307?v=3","gravatar_id":"","url":"https://api.github.com/users/vladima","html_url":"https://github.com/vladima","followers_url":"https://api.github.com/users/vladima/followers","following_url":"https://api.github.com/users/vladima/following{/other_user}","gists_url":"https://api.github.com/users/vladima/gists{/gist_id}","starred_url":"https://api.github.com/users/vladima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladima/subscriptions","organizations_url":"https://api.github.com/users/vladima/orgs","repos_url":"https://api.github.com/users/vladima/repos","events_url":"https://api.github.com/users/vladima/events{/privacy}","received_events_url":"https://api.github.com/users/vladima/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Microsoft/TypeScript/milestones/11","html_url":"https://github.com/Microsoft/TypeScript/milestones/TypeScript%201.7","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/milestones/11/labels","id":1189604,"number":11,"title":"TypeScript 1.7","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":164,"closed_issues":27,"state":"open","created_at":"2015-07-01T19:21:45Z","updated_at":"2015-09-28T18:13:42Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-08-27T23:46:06Z","updated_at":"2015-09-28T18:13:42Z","closed_at":"2015-09-28T18:13:42Z","body":"Copy/paste the following code snippet into a new tsx file\r\n\r\n```TypeScript\r\ninterface I<T1, T2> {\r\n    next: I</**/\r\n}\r\n```\r\n\r\nAssertion failure:\r\n```\r\nDescription:\r\n\r\ngetFormattingEditsForRange('C:\\Users\\drosen\\AppData\\Local\\Temp\\~vs62CC.tsx', 0, 42)\r\n\r\nStackTrace:\r\n\r\nError: Debug Failure. False expression: \r\n   at assert (:1558:17)\r\n   at processChildNode (:40970:25)\r\n   at Anonymous function (:40921:21)\r\n   at visitNode (:7169:13)\r\n   at forEachChild (:7314:17)\r\n   at processNode (:40920:17)\r\n   at processChildNode (:40976:21)\r\n   at Anonymous function (:40921:21)\r\n   at visitNode (:7169:13)\r\n   at forEachChild (:7314:17)\r\n   at processNode (:40920:17)\r\n   at processChildNode (:40976:21)\r\n   at Anonymous function (:40921:21)\r\n   at visitNode (:7169:13)\r\n   at forEachChild (:7341:17)\r\n   at processNode (:40920:17)\r\n   at processChildNode (:40976:21)\r\n   at processChildNodes (:41009:25)\r\n   at Anonymous function (:40923:21)\r\n   at visitNodeArray (:7174:13)\r\n   at forEachChild (:7332:17)\r\n   at processNode (:40920:17)\r\n   at formatSpan (:40752:17)\r\n   at formatSelection (:40559:13)\r\n   at getFormattingEditsForRange (:47293:13)\r\n   at Anonymous ......\r\n```"}}