{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6281","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6281/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6281/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6281/events","html_url":"https://github.com/Microsoft/TypeScript/issues/6281","id":124170956,"number":6281,"title":"Indentation crash with unclosed JSX element","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"},{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/High%20Priority","name":"High Priority","color":"e11d21"},{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/JSX/TSX","name":"JSX/TSX","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-29T06:39:06Z","updated_at":"2015-12-29T17:38:03Z","closed_at":null,"body":"```ts\r\nvar x =\r\n    <div>\r\n        <input type=\"text\" name=\"name\">\r\n    </div>\r\n\r\nnamespace foo {\r\n/**/\r\n```\r\n\r\nPress enter at `/**/`.\r\n\r\n```\r\nDescription:\r\n\r\ngetIndentationAtPosition('C:\\Users\\drosen\\AppData\\Local\\Temp\\~vs8E0D.tsx', 94)\r\n\r\nStackTrace:\r\n\r\nError: Debug Failure. False expression: \r\n   at assert (:1645:17)\r\n   at find (:41847:13)\r\n   at find (:41843:25)\r\n   at find (:41843:25)\r\n   at find (:41843:25)\r\n   at find (:41843:25)\r\n   at find (:41843:25)\r\n   at find (:41843:25)\r\n   at find (:41843:25)\r\n   at find (:41843:25)\r\n   at findPrecedingToken (:41808:9)\r\n   at getIndentation (:44508:17)\r\n   at getIndentationAtPosition (:50435:13)\r\n   at Anonymous function (:52193:17)\r\n   at simpleForwardCall (:51951:9)\r\n   at forwardJSONCall (:51967:13)\r\n   at forwardJSONCall (:52013:13)\r\n   at getIndentationAtPosition (:52191:13)\r\n```"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/167838865","html_url":"https://github.com/Microsoft/TypeScript/issues/6281#issuecomment-167838865","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6281","id":167838865,"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},"created_at":"2015-12-29T17:38:03Z","updated_at":"2015-12-29T17:38:03Z","body":"The repro wasn't apparent because I think you need a newline below the namespace. I've updated the original comment."}}