{"action":"created","issue":{"url":"https://api.github.com/repos/agda/agda/issues/2243","repository_url":"https://api.github.com/repos/agda/agda","labels_url":"https://api.github.com/repos/agda/agda/issues/2243/labels{/name}","comments_url":"https://api.github.com/repos/agda/agda/issues/2243/comments","events_url":"https://api.github.com/repos/agda/agda/issues/2243/events","html_url":"https://github.com/agda/agda/issues/2243","id":181809536,"number":2243,"title":"Overlapping literals are (wrongly) accepted","user":{"login":"phile314","id":1640697,"avatar_url":"https://avatars.githubusercontent.com/u/1640697?v=3","gravatar_id":"","url":"https://api.github.com/users/phile314","html_url":"https://github.com/phile314","followers_url":"https://api.github.com/users/phile314/followers","following_url":"https://api.github.com/users/phile314/following{/other_user}","gists_url":"https://api.github.com/users/phile314/gists{/gist_id}","starred_url":"https://api.github.com/users/phile314/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phile314/subscriptions","organizations_url":"https://api.github.com/users/phile314/orgs","repos_url":"https://api.github.com/users/phile314/repos","events_url":"https://api.github.com/users/phile314/events{/privacy}","received_events_url":"https://api.github.com/users/phile314/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/agda/agda/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/agda/agda/labels/coverage","name":"coverage","color":"ededed"},{"url":"https://api.github.com/repos/agda/agda/labels/literals","name":"literals","color":"ededed"},{"url":"https://api.github.com/repos/agda/agda/labels/pattern-matching","name":"pattern-matching","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"andreasabel","id":1155218,"avatar_url":"https://avatars.githubusercontent.com/u/1155218?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasabel","html_url":"https://github.com/andreasabel","followers_url":"https://api.github.com/users/andreasabel/followers","following_url":"https://api.github.com/users/andreasabel/following{/other_user}","gists_url":"https://api.github.com/users/andreasabel/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasabel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasabel/subscriptions","organizations_url":"https://api.github.com/users/andreasabel/orgs","repos_url":"https://api.github.com/users/andreasabel/repos","events_url":"https://api.github.com/users/andreasabel/events{/privacy}","received_events_url":"https://api.github.com/users/andreasabel/received_events","type":"User","site_admin":false},"assignees":[{"login":"andreasabel","id":1155218,"avatar_url":"https://avatars.githubusercontent.com/u/1155218?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasabel","html_url":"https://github.com/andreasabel","followers_url":"https://api.github.com/users/andreasabel/followers","following_url":"https://api.github.com/users/andreasabel/following{/other_user}","gists_url":"https://api.github.com/users/andreasabel/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasabel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasabel/subscriptions","organizations_url":"https://api.github.com/users/andreasabel/orgs","repos_url":"https://api.github.com/users/andreasabel/repos","events_url":"https://api.github.com/users/andreasabel/events{/privacy}","received_events_url":"https://api.github.com/users/andreasabel/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/agda/agda/milestones/16","html_url":"https://github.com/agda/agda/milestones/2.5.2","labels_url":"https://api.github.com/repos/agda/agda/milestones/16/labels","id":1713715,"number":16,"title":"2.5.2","description":null,"creator":{"login":"andreasabel","id":1155218,"avatar_url":"https://avatars.githubusercontent.com/u/1155218?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasabel","html_url":"https://github.com/andreasabel","followers_url":"https://api.github.com/users/andreasabel/followers","following_url":"https://api.github.com/users/andreasabel/following{/other_user}","gists_url":"https://api.github.com/users/andreasabel/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasabel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasabel/subscriptions","organizations_url":"https://api.github.com/users/andreasabel/orgs","repos_url":"https://api.github.com/users/andreasabel/repos","events_url":"https://api.github.com/users/andreasabel/events{/privacy}","received_events_url":"https://api.github.com/users/andreasabel/received_events","type":"User","site_admin":false},"open_issues":36,"closed_issues":163,"state":"open","created_at":"2016-04-18T13:25:09Z","updated_at":"2016-10-08T21:29:20Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-10-08T07:01:27Z","updated_at":"2016-10-09T09:05:25Z","closed_at":"2016-10-08T21:29:20Z","body":"This typechecks on current stable:\r\n```agda\r\n   open import Agda.Builtin.Char\r\n\r\n   f : Char -> Char\r\n   f 'x' = 'x'\r\n   f 'x' = 'y'\r\n   f _ = 's'\r\n```\r\nAlso happens for ``Float`` patterns, probably other literals as well.\r\n\r\nDiscovered by asr, see https://github.com/agda/agda/issues/2194#issuecomment-251983600 ."},"comment":{"url":"https://api.github.com/repos/agda/agda/issues/comments/252474303","html_url":"https://github.com/agda/agda/issues/2243#issuecomment-252474303","issue_url":"https://api.github.com/repos/agda/agda/issues/2243","id":252474303,"user":{"login":"phile314","id":1640697,"avatar_url":"https://avatars.githubusercontent.com/u/1640697?v=3","gravatar_id":"","url":"https://api.github.com/users/phile314","html_url":"https://github.com/phile314","followers_url":"https://api.github.com/users/phile314/followers","following_url":"https://api.github.com/users/phile314/following{/other_user}","gists_url":"https://api.github.com/users/phile314/gists{/gist_id}","starred_url":"https://api.github.com/users/phile314/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phile314/subscriptions","organizations_url":"https://api.github.com/users/phile314/orgs","repos_url":"https://api.github.com/users/phile314/repos","events_url":"https://api.github.com/users/phile314/events{/privacy}","received_events_url":"https://api.github.com/users/phile314/received_events","type":"User","site_admin":false},"created_at":"2016-10-09T09:05:25Z","updated_at":"2016-10-09T09:05:25Z","body":"Thanks!"}}
{"actor":{"display_login":"phile314"}}