{"action":"created","issue":{"url":"https://api.github.com/repos/nim-lang/Nim/issues/7211","repository_url":"https://api.github.com/repos/nim-lang/Nim","labels_url":"https://api.github.com/repos/nim-lang/Nim/issues/7211/labels{/name}","comments_url":"https://api.github.com/repos/nim-lang/Nim/issues/7211/comments","events_url":"https://api.github.com/repos/nim-lang/Nim/issues/7211/events","html_url":"https://github.com/nim-lang/Nim/issues/7211","id":296526598,"number":7211,"title":"Nim doesn't know which enum an identifier belongs to","user":{"login":"dawkot","id":22991711,"avatar_url":"https://avatars2.githubusercontent.com/u/22991711?v=4","gravatar_id":"","url":"https://api.github.com/users/dawkot","html_url":"https://github.com/dawkot","followers_url":"https://api.github.com/users/dawkot/followers","following_url":"https://api.github.com/users/dawkot/following{/other_user}","gists_url":"https://api.github.com/users/dawkot/gists{/gist_id}","starred_url":"https://api.github.com/users/dawkot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dawkot/subscriptions","organizations_url":"https://api.github.com/users/dawkot/orgs","repos_url":"https://api.github.com/users/dawkot/repos","events_url":"https://api.github.com/users/dawkot/events{/privacy}","received_events_url":"https://api.github.com/users/dawkot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-12T21:15:16Z","updated_at":"2018-02-13T09:04:24Z","closed_at":null,"author_association":"NONE","body":"```nim\r\ntype\r\n    A {.pure.} = enum X\r\n    B {.pure.} = enum X\r\n    \r\n    C = object\r\n        case kind: B\r\n        of X: discard #type mismatch: got (A) but expected 'B = enum'\r\n```"},"comment":{"url":"https://api.github.com/repos/nim-lang/Nim/issues/comments/365194342","html_url":"https://github.com/nim-lang/Nim/issues/7211#issuecomment-365194342","issue_url":"https://api.github.com/repos/nim-lang/Nim/issues/7211","id":365194342,"user":{"login":"andreaferretti","id":1962818,"avatar_url":"https://avatars1.githubusercontent.com/u/1962818?v=4","gravatar_id":"","url":"https://api.github.com/users/andreaferretti","html_url":"https://github.com/andreaferretti","followers_url":"https://api.github.com/users/andreaferretti/followers","following_url":"https://api.github.com/users/andreaferretti/following{/other_user}","gists_url":"https://api.github.com/users/andreaferretti/gists{/gist_id}","starred_url":"https://api.github.com/users/andreaferretti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreaferretti/subscriptions","organizations_url":"https://api.github.com/users/andreaferretti/orgs","repos_url":"https://api.github.com/users/andreaferretti/repos","events_url":"https://api.github.com/users/andreaferretti/events{/privacy}","received_events_url":"https://api.github.com/users/andreaferretti/received_events","type":"User","site_admin":false},"created_at":"2018-02-13T09:04:24Z","updated_at":"2018-02-13T09:04:24Z","author_association":"COLLABORATOR","body":"What is there to fix? The enum is pure, hence the need to qualify"}}
{"actor":{"display_login":"andreaferretti"}}