{"action":"created","issue":{"url":"https://api.github.com/repos/nim-lang/Nim/issues/7176","repository_url":"https://api.github.com/repos/nim-lang/Nim","labels_url":"https://api.github.com/repos/nim-lang/Nim/issues/7176/labels{/name}","comments_url":"https://api.github.com/repos/nim-lang/Nim/issues/7176/comments","events_url":"https://api.github.com/repos/nim-lang/Nim/issues/7176/events","html_url":"https://github.com/nim-lang/Nim/pull/7176","id":293879695,"number":7176,"title":"Improve semchecking for duplicate cases in case statements","user":{"login":"GULPF","id":1022431,"avatar_url":"https://avatars1.githubusercontent.com/u/1022431?v=4","gravatar_id":"","url":"https://api.github.com/users/GULPF","html_url":"https://github.com/GULPF","followers_url":"https://api.github.com/users/GULPF/followers","following_url":"https://api.github.com/users/GULPF/following{/other_user}","gists_url":"https://api.github.com/users/GULPF/gists{/gist_id}","starred_url":"https://api.github.com/users/GULPF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GULPF/subscriptions","organizations_url":"https://api.github.com/users/GULPF/orgs","repos_url":"https://api.github.com/users/GULPF/repos","events_url":"https://api.github.com/users/GULPF/events{/privacy}","received_events_url":"https://api.github.com/users/GULPF/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-02T12:56:11Z","updated_at":"2018-02-04T08:25:01Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/nim-lang/Nim/pulls/7176","html_url":"https://github.com/nim-lang/Nim/pull/7176","diff_url":"https://github.com/nim-lang/Nim/pull/7176.diff","patch_url":"https://github.com/nim-lang/Nim/pull/7176.patch"},"body":"The previous code had an issue where only the first element of an array/set where checked for duplicates. Since set constructors are allowed to have duplicates, I've also made sure that sets in case statements are deduplicated before they are semchecked.\r\n\r\nFixes #6239"},"comment":{"url":"https://api.github.com/repos/nim-lang/Nim/issues/comments/362889739","html_url":"https://github.com/nim-lang/Nim/pull/7176#issuecomment-362889739","issue_url":"https://api.github.com/repos/nim-lang/Nim/issues/7176","id":362889739,"user":{"login":"GULPF","id":1022431,"avatar_url":"https://avatars1.githubusercontent.com/u/1022431?v=4","gravatar_id":"","url":"https://api.github.com/users/GULPF","html_url":"https://github.com/GULPF","followers_url":"https://api.github.com/users/GULPF/followers","following_url":"https://api.github.com/users/GULPF/following{/other_user}","gists_url":"https://api.github.com/users/GULPF/gists{/gist_id}","starred_url":"https://api.github.com/users/GULPF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GULPF/subscriptions","organizations_url":"https://api.github.com/users/GULPF/orgs","repos_url":"https://api.github.com/users/GULPF/repos","events_url":"https://api.github.com/users/GULPF/events{/privacy}","received_events_url":"https://api.github.com/users/GULPF/received_events","type":"User","site_admin":false},"created_at":"2018-02-04T08:25:01Z","updated_at":"2018-02-04T08:25:01Z","author_association":"CONTRIBUTOR","body":"What AST change are you referring to? The only AST transformation that this PR introduces is the deduplication, which I think is fine since the codegen must do it otherwise."}}
{"actor":{"display_login":"GULPF"}}