{"action":"opened","issue":{"url":"https://api.github.com/repos/agda/agda/issues/2108","repository_url":"https://api.github.com/repos/agda/agda","labels_url":"https://api.github.com/repos/agda/agda/issues/2108/labels{/name}","comments_url":"https://api.github.com/repos/agda/agda/issues/2108/comments","events_url":"https://api.github.com/repos/agda/agda/issues/2108/events","html_url":"https://github.com/agda/agda/issues/2108","id":167083303,"number":2108,"title":"Internal error in positivity checker","user":{"login":"jespercockx","id":2910371,"avatar_url":"https://avatars.githubusercontent.com/u/2910371?v=3","gravatar_id":"","url":"https://api.github.com/users/jespercockx","html_url":"https://github.com/jespercockx","followers_url":"https://api.github.com/users/jespercockx/followers","following_url":"https://api.github.com/users/jespercockx/following{/other_user}","gists_url":"https://api.github.com/users/jespercockx/gists{/gist_id}","starred_url":"https://api.github.com/users/jespercockx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jespercockx/subscriptions","organizations_url":"https://api.github.com/users/jespercockx/orgs","repos_url":"https://api.github.com/users/jespercockx/repos","events_url":"https://api.github.com/users/jespercockx/events{/privacy}","received_events_url":"https://api.github.com/users/jespercockx/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/positivity","name":"positivity","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"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":91,"state":"open","created_at":"2016-04-18T13:25:09Z","updated_at":"2016-07-22T16:30:02Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-07-22T16:30:02Z","updated_at":"2016-07-22T16:30:02Z","closed_at":null,"body":"Here is a minimized example (maybe further minimization is possible):\r\n```\r\nopen import Agda.Primitive\r\nopen import Agda.Builtin.Equality\r\n\r\nlone = lsuc lzero\r\n\r\nrecord Level-zero-or-one : Set where\r\n  field\r\n    level : Level\r\n    is-lower : level ⊔ lone ≡ lone\r\n\r\nopen Level-zero-or-one public\r\n\r\nCoerce : ∀ {a} → a ≡ lone → Set₁\r\nCoerce refl = Set\r\n\r\ndata Test : Set₁ where\r\n  test : Coerce (is-lower _) → Test\r\n```\r\nThis results in the following error:\r\n```\r\nAn internal error has occurred. Please report this as a bug.\r\nLocation of the error: src/full/Agda/TypeChecking/Positivity.hs:507\r\n```"}}
{"actor":{"display_login":"jespercockx"}}