{"action":"created","issue":{"url":"https://api.github.com/repos/Araq/Nim/issues/1968","labels_url":"https://api.github.com/repos/Araq/Nim/issues/1968/labels{/name}","comments_url":"https://api.github.com/repos/Araq/Nim/issues/1968/comments","events_url":"https://api.github.com/repos/Araq/Nim/issues/1968/events","html_url":"https://github.com/Araq/Nim/issues/1968","id":54528153,"number":1968,"title":"Compiler crash on closure type inside ref object","user":{"login":"dom96","id":246651,"avatar_url":"https://avatars.githubusercontent.com/u/246651?v=3","gravatar_id":"","url":"https://api.github.com/users/dom96","html_url":"https://github.com/dom96","followers_url":"https://api.github.com/users/dom96/followers","following_url":"https://api.github.com/users/dom96/following{/other_user}","gists_url":"https://api.github.com/users/dom96/gists{/gist_id}","starred_url":"https://api.github.com/users/dom96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dom96/subscriptions","organizations_url":"https://api.github.com/users/dom96/orgs","repos_url":"https://api.github.com/users/dom96/repos","events_url":"https://api.github.com/users/dom96/events{/privacy}","received_events_url":"https://api.github.com/users/dom96/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-16T01:11:10Z","updated_at":"2015-01-16T01:12:45Z","closed_at":"2015-01-16T01:12:45Z","body":"```nimrod\r\ntype\r\n  Client = ref object\r\n    onMessage: proc (client: Client)\r\n```\r\n\r\n```\r\nTraceback (most recent call last)\r\nnim.nim(91)              nim\r\nnim.nim(55)              handleCmdLine\r\nmain.nim(259)            mainCommand\r\nmain.nim(67)             commandCompileToC\r\nmodules.nim(204)         compileProject\r\nmodules.nim(152)         compileModule\r\npasses.nim(193)          processModule\r\npasses.nim(137)          processTopLevelStmt\r\nsem.nim(434)             myProcess\r\nsem.nim(408)             semStmtAndGenerateGenerics\r\nsemstmts.nim(1322)       semStmt\r\nsemexprs.nim(851)        semExprNoType\r\nsemexprs.nim(2122)       semExpr\r\nsemstmts.nim(710)        semTypeSection\r\nsemstmts.nim(642)        typeSectionRightSidePass\r\nsemtypes.nim(1220)       semTypeNode\r\nsemtypes.nim(140)        semAnyRef\r\nsemtypes.nim(1217)       semTypeNode\r\nsemtypes.nim(646)        semObjectNode\r\nsemtypes.nim(556)        semRecordNodeAux\r\nsemtypes.nim(571)        semRecordNodeAux\r\nsemtypes.nim(1244)       semTypeNode\r\nsemtypes.nim(1084)       semProcTypeWithScope\r\nsemtypes.nim(922)        semProcTypeNode\r\nsemtypes.nim(776)        liftParamType\r\nSIGSEGV: Illegal storage access. (Attempt to read from nil?)\r\n```"},"comment":{"url":"https://api.github.com/repos/Araq/Nim/issues/comments/70193346","html_url":"https://github.com/Araq/Nim/issues/1968#issuecomment-70193346","issue_url":"https://api.github.com/repos/Araq/Nim/issues/1968","id":70193346,"user":{"login":"dom96","id":246651,"avatar_url":"https://avatars.githubusercontent.com/u/246651?v=3","gravatar_id":"","url":"https://api.github.com/users/dom96","html_url":"https://github.com/dom96","followers_url":"https://api.github.com/users/dom96/followers","following_url":"https://api.github.com/users/dom96/following{/other_user}","gists_url":"https://api.github.com/users/dom96/gists{/gist_id}","starred_url":"https://api.github.com/users/dom96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dom96/subscriptions","organizations_url":"https://api.github.com/users/dom96/orgs","repos_url":"https://api.github.com/users/dom96/repos","events_url":"https://api.github.com/users/dom96/events{/privacy}","received_events_url":"https://api.github.com/users/dom96/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T01:12:45Z","updated_at":"2015-01-16T01:12:45Z","body":"Already reported according to @Araq "}}