{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5160","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5160/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5160/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5160/events","html_url":"https://github.com/Microsoft/TypeScript/issues/5160","id":110330579,"number":5160,"title":"Compiler crash when variable has same name as a function with overloads","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":"open","locked":false,"assignee":{"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},"milestone":{"url":"https://api.github.com/repos/Microsoft/TypeScript/milestones/1","html_url":"https://github.com/Microsoft/TypeScript/milestones/TypeScript%202.0","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/milestones/1/labels","id":721040,"number":1,"title":"TypeScript 2.0","description":"The next major release of TypeScript","creator":{"login":"RyanCavanaugh","id":6685088,"avatar_url":"https://avatars.githubusercontent.com/u/6685088?v=3","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":87,"closed_issues":19,"state":"open","created_at":"2014-07-14T23:24:03Z","updated_at":"2015-10-12T18:00:25Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-10-07T22:23:58Z","updated_at":"2015-10-14T21:52:07Z","closed_at":null,"body":"```TypeScript\r\nvar f = 10;\r\n\r\nexport function f();\r\nexport function f() {\r\n}\r\n```\r\n\r\n```\r\nDescription:\r\n\r\ngetSemanticDiagnostics('C:\\Users\\drosen\\AppData\\Local\\Temp\\~vs212F.ts')\r\n\r\nStackTrace:\r\n\r\nError: Debug Failure. False expression: \r\n   at assert (:1559:17)\r\n   at reportImplementationExpectedError (:22811:29)\r\n   at checkFunctionOrConstructorSymbol (:22902:17)\r\n   at checkFunctionLikeDeclaration (:23399:21)\r\n   at checkFunctionDeclaration (:23366:17)\r\n   at checkSourceElement (:25187:21)\r\n   at forEach (:866:17)\r\n   at checkSourceFileWorker (:25380:17)\r\n   at checkSourceFile (:25362:13)\r\n   at getDiagnosticsWorker (:25422:17)\r\n   at getDiagnostics (:25413:17)\r\n   at Anonymous function (:35824:17)\r\n   at runWithCancellationToken (:35800:17)\r\n   at getSemanticDiagnosticsForFile (:35820:13)\r\n   at getDiagnosticsHelper (:35775:17)\r\n   at getSemanticDiagnostics (:35790:13)\r\n   at getSemanticDiagnostics (:43916:13)\r\n   at Anonymous function (:49157:17)\r\n   at simpleForwardCall (:49016:9)\r\n   at forwardJSONCall (:49032:13)\r\n   at forwardJSONCall (:49078:13)\r\n   at getSemanticDiagnostics (:49156:13)\r\n\r\n\r\n---------------------------\r\nAbort   Retry   Ignore   \r\n---------------------------\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/148212763","html_url":"https://github.com/Microsoft/TypeScript/issues/5160#issuecomment-148212763","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5160","id":148212763,"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-10-14T21:52:07Z","updated_at":"2015-10-14T21:52:07Z","body":"@mhegazy this causes the compiler to crash. I think it should go in 1.7"}}