{"action":"opened","issue":{"url":"https://api.github.com/repos/nim-lang/Nim/issues/3456","labels_url":"https://api.github.com/repos/nim-lang/Nim/issues/3456/labels{/name}","comments_url":"https://api.github.com/repos/nim-lang/Nim/issues/3456/comments","events_url":"https://api.github.com/repos/nim-lang/Nim/issues/3456/events","html_url":"https://github.com/nim-lang/Nim/issues/3456","id":111969101,"number":3456,"title":"Compiler crash with newTable[T, RecursiveType]()","user":{"login":"jsanjuas","id":1075931,"avatar_url":"https://avatars.githubusercontent.com/u/1075931?v=3","gravatar_id":"","url":"https://api.github.com/users/jsanjuas","html_url":"https://github.com/jsanjuas","followers_url":"https://api.github.com/users/jsanjuas/followers","following_url":"https://api.github.com/users/jsanjuas/following{/other_user}","gists_url":"https://api.github.com/users/jsanjuas/gists{/gist_id}","starred_url":"https://api.github.com/users/jsanjuas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsanjuas/subscriptions","organizations_url":"https://api.github.com/users/jsanjuas/orgs","repos_url":"https://api.github.com/users/jsanjuas/repos","events_url":"https://api.github.com/users/jsanjuas/events{/privacy}","received_events_url":"https://api.github.com/users/jsanjuas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-17T15:41:47Z","updated_at":"2015-10-17T15:41:47Z","closed_at":null,"body":"This code crashes the compiler:\r\n\r\n```nim\r\nimport tables\r\ntype\r\n  Weird = ref seq[Weird]\r\nvar t = newTable[int, Weird]()\r\n```\r\n    $ nim c minexample.nim\r\n    Hint: system [Processing]\r\n    Hint: minexample [Processing]\r\n    Hint: tables [Processing]\r\n    Hint: hashes [Processing]\r\n    Hint: strutils [Processing]\r\n    Hint: parseutils [Processing]\r\n    Hint: etcpriv [Processing]\r\n    Hint: math [Processing]\r\n    Hint: times [Processing]\r\n    [1]    18372 segmentation fault (core dumped)  nim c minexample.nim"}}