{"action":"created","issue":{"url":"https://api.github.com/repos/Araq/Nim/issues/2690","labels_url":"https://api.github.com/repos/Araq/Nim/issues/2690/labels{/name}","comments_url":"https://api.github.com/repos/Araq/Nim/issues/2690/comments","events_url":"https://api.github.com/repos/Araq/Nim/issues/2690/events","html_url":"https://github.com/Araq/Nim/issues/2690","id":75013766,"number":2690,"title":"Segfault with generic inheritance","user":{"login":"adrian-budau","id":1350273,"avatar_url":"https://avatars.githubusercontent.com/u/1350273?v=3","gravatar_id":"","url":"https://api.github.com/users/adrian-budau","html_url":"https://github.com/adrian-budau","followers_url":"https://api.github.com/users/adrian-budau/followers","following_url":"https://api.github.com/users/adrian-budau/following{/other_user}","gists_url":"https://api.github.com/users/adrian-budau/gists{/gist_id}","starred_url":"https://api.github.com/users/adrian-budau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrian-budau/subscriptions","organizations_url":"https://api.github.com/users/adrian-budau/orgs","repos_url":"https://api.github.com/users/adrian-budau/repos","events_url":"https://api.github.com/users/adrian-budau/events{/privacy}","received_events_url":"https://api.github.com/users/adrian-budau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-10T22:21:05Z","updated_at":"2015-05-11T12:52:09Z","closed_at":null,"body":"On nim 0.11.2 on Mac OS X 10 Yosemite MacBook Pro Retina 2014\r\n\r\nThis code compiles succesfully:\r\n```nim\r\ntype\r\n  Parent = ref object of RootObj\r\n    field: int\r\n  Child = ref object of Parent\r\n\r\nvar a = Child(field: 2)\r\necho a.field\r\n```\r\n\r\nwhile this one throws a SIGSEGV durring compilation\r\n```nim\r\ntype\r\n  Parent[T] = ref object of RootObj\r\n    field: int\r\n  Child[T] = ref object of Parent[T]\r\n\r\nvar a = Child[int](field: 2)\r\necho a.field\r\n```"},"comment":{"url":"https://api.github.com/repos/Araq/Nim/issues/comments/100896634","html_url":"https://github.com/Araq/Nim/issues/2690#issuecomment-100896634","issue_url":"https://api.github.com/repos/Araq/Nim/issues/2690","id":100896634,"user":{"login":"hakanderyal","id":399346,"avatar_url":"https://avatars.githubusercontent.com/u/399346?v=3","gravatar_id":"","url":"https://api.github.com/users/hakanderyal","html_url":"https://github.com/hakanderyal","followers_url":"https://api.github.com/users/hakanderyal/followers","following_url":"https://api.github.com/users/hakanderyal/following{/other_user}","gists_url":"https://api.github.com/users/hakanderyal/gists{/gist_id}","starred_url":"https://api.github.com/users/hakanderyal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hakanderyal/subscriptions","organizations_url":"https://api.github.com/users/hakanderyal/orgs","repos_url":"https://api.github.com/users/hakanderyal/repos","events_url":"https://api.github.com/users/hakanderyal/events{/privacy}","received_events_url":"https://api.github.com/users/hakanderyal/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T12:52:09Z","updated_at":"2015-05-11T12:52:09Z","body":"Same issue? #2540 "}}