{"action":"created","issue":{"url":"https://api.github.com/repos/nim-lang/Nim/issues/6943","repository_url":"https://api.github.com/repos/nim-lang/Nim","labels_url":"https://api.github.com/repos/nim-lang/Nim/issues/6943/labels{/name}","comments_url":"https://api.github.com/repos/nim-lang/Nim/issues/6943/comments","events_url":"https://api.github.com/repos/nim-lang/Nim/issues/6943/events","html_url":"https://github.com/nim-lang/Nim/issues/6943","id":283227248,"number":6943,"title":"Printing a recursive type crashes the compiler","user":{"login":"Arnaz87","id":8680587,"avatar_url":"https://avatars3.githubusercontent.com/u/8680587?v=4","gravatar_id":"","url":"https://api.github.com/users/Arnaz87","html_url":"https://github.com/Arnaz87","followers_url":"https://api.github.com/users/Arnaz87/followers","following_url":"https://api.github.com/users/Arnaz87/following{/other_user}","gists_url":"https://api.github.com/users/Arnaz87/gists{/gist_id}","starred_url":"https://api.github.com/users/Arnaz87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arnaz87/subscriptions","organizations_url":"https://api.github.com/users/Arnaz87/orgs","repos_url":"https://api.github.com/users/Arnaz87/repos","events_url":"https://api.github.com/users/Arnaz87/events{/privacy}","received_events_url":"https://api.github.com/users/Arnaz87/received_events","type":"User","site_admin":false},"labels":[{"id":385324188,"url":"https://api.github.com/repos/nim-lang/Nim/labels/Crash","name":"Crash","color":"b60205","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-19T13:25:31Z","updated_at":"2018-02-28T10:20:20Z","closed_at":null,"author_association":"NONE","body":"This code crashes the compiler and doesn't give any error message. If the last line is commented compiles fine.\r\n\r\n~~~ nim\r\ntype\r\n  Node = object of RootObj\r\n    children: seq[Node]\r\n\r\nlet tree = Node(children: @[])\r\necho tree # Commenting this line compiles just fine\r\n~~~\r\n\r\n\r\nCompiler output\r\n~~~\r\nHint: used config file '/etc/nim.cfg' [Conf]\r\nHint: system [Processing]\r\nHint: tmp [Processing]\r\nTraceback from system (most recent call last)\r\n~~~\r\n\r\n\r\n`nim -v`\r\n~~~\r\nNim Compiler Version 0.17.2 (2017-09-11) [Linux: i386]\r\nCopyright (c) 2006-2017 by Andreas Rumpf\r\n\r\nactive boot switches: -d:release -d:nativeStackTrace\r\n~~~"},"comment":{"url":"https://api.github.com/repos/nim-lang/Nim/issues/comments/369193867","html_url":"https://github.com/nim-lang/Nim/issues/6943#issuecomment-369193867","issue_url":"https://api.github.com/repos/nim-lang/Nim/issues/6943","id":369193867,"user":{"login":"mratsim","id":22738317,"avatar_url":"https://avatars3.githubusercontent.com/u/22738317?v=4","gravatar_id":"","url":"https://api.github.com/users/mratsim","html_url":"https://github.com/mratsim","followers_url":"https://api.github.com/users/mratsim/followers","following_url":"https://api.github.com/users/mratsim/following{/other_user}","gists_url":"https://api.github.com/users/mratsim/gists{/gist_id}","starred_url":"https://api.github.com/users/mratsim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mratsim/subscriptions","organizations_url":"https://api.github.com/users/mratsim/orgs","repos_url":"https://api.github.com/users/mratsim/repos","events_url":"https://api.github.com/users/mratsim/events{/privacy}","received_events_url":"https://api.github.com/users/mratsim/received_events","type":"User","site_admin":false},"created_at":"2018-02-28T10:20:20Z","updated_at":"2018-02-28T10:20:20Z","author_association":"CONTRIBUTOR","body":"Works for me on devel"}}
{"actor":{"display_login":"mratsim"}}