{"action":"closed","issue":{"url":"https://api.github.com/repos/nim-lang/Nim/issues/3099","labels_url":"https://api.github.com/repos/nim-lang/Nim/issues/3099/labels{/name}","comments_url":"https://api.github.com/repos/nim-lang/Nim/issues/3099/comments","events_url":"https://api.github.com/repos/nim-lang/Nim/issues/3099/events","html_url":"https://github.com/nim-lang/Nim/issues/3099","id":94364975,"number":3099,"title":"getTypeInfo call crashes nim","user":{"login":"Abrasax-","id":5203140,"avatar_url":"https://avatars.githubusercontent.com/u/5203140?v=3","gravatar_id":"","url":"https://api.github.com/users/Abrasax-","html_url":"https://github.com/Abrasax-","followers_url":"https://api.github.com/users/Abrasax-/followers","following_url":"https://api.github.com/users/Abrasax-/following{/other_user}","gists_url":"https://api.github.com/users/Abrasax-/gists{/gist_id}","starred_url":"https://api.github.com/users/Abrasax-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Abrasax-/subscriptions","organizations_url":"https://api.github.com/users/Abrasax-/orgs","repos_url":"https://api.github.com/users/Abrasax-/repos","events_url":"https://api.github.com/users/Abrasax-/events{/privacy}","received_events_url":"https://api.github.com/users/Abrasax-/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-10T18:31:31Z","updated_at":"2015-07-22T14:35:51Z","closed_at":"2015-07-22T14:35:51Z","body":"```Nim\r\ntype Foo = object\r\nlet f = getTypeInfo(Foo())\r\n```\r\nWhen being compiled crashes with:\r\n```Nim\r\ntest.nim(2, 24) Error: internal error: evalOp(mGetTypeInfo)\r\nTraceback (most recent call last)\r\nnim.nim(97)              nim\r\nnim.nim(61)              handleCmdLine\r\nmain.nim(252)            mainCommand\r\nmain.nim(63)             commandCompileToC\r\nmodules.nim(206)         compileProject\r\nmodules.nim(154)         compileModule\r\npasses.nim(203)          processModule\r\npasses.nim(137)          processTopLevelStmt\r\nsem.nim(454)             myProcess\r\nsem.nim(440)             semStmtAndGenerateGenerics\r\ntransf.nim(807)          transformStmt\r\ntransf.nim(778)          processTransf\r\ntransf.nim(751)          transform\r\ntransf.nim(104)          transformSons\r\ntransf.nim(760)          transform\r\ntransf.nim(104)          transformSons\r\ntransf.nim(767)          transform\r\nsemfold.nim(714)         getConstExpr\r\nsemfold.nim(514)         magicCall\r\nsemfold.nim(443)         evalOp\r\nmsgs.nim(952)            internalError\r\nmsgs.nim(926)            liMessage\r\nmsgs.nim(796)            handleError\r\n```\r\n* * *\r\nnim -v \r\n```Nim\r\nNim Compiler Version 0.11.3 (2015-07-10) [Windows: i386]\r\nCopyright (c) 2006-2015 by Andreas Rumpf\r\n\r\ngit hash: 7d1a58224ef250dd38a84bda94026120e60767eb\r\n```\r\ngit branch: `* devel`\r\ncommand: `nim c test.nim`"}}