{"action":"opened","issue":{"url":"https://api.github.com/repos/agda/agda/issues/1873","repository_url":"https://api.github.com/repos/agda/agda","labels_url":"https://api.github.com/repos/agda/agda/issues/1873/labels{/name}","comments_url":"https://api.github.com/repos/agda/agda/issues/1873/comments","events_url":"https://api.github.com/repos/agda/agda/issues/1873/events","html_url":"https://github.com/agda/agda/issues/1873","id":135872745,"number":1873,"title":"Internal error related to display pragma","user":{"login":"nad","id":293222,"avatar_url":"https://avatars.githubusercontent.com/u/293222?v=3","gravatar_id":"","url":"https://api.github.com/users/nad","html_url":"https://github.com/nad","followers_url":"https://api.github.com/users/nad/followers","following_url":"https://api.github.com/users/nad/following{/other_user}","gists_url":"https://api.github.com/users/nad/gists{/gist_id}","starred_url":"https://api.github.com/users/nad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nad/subscriptions","organizations_url":"https://api.github.com/users/nad/orgs","repos_url":"https://api.github.com/users/nad/repos","events_url":"https://api.github.com/users/nad/events{/privacy}","received_events_url":"https://api.github.com/users/nad/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/display","name":"display","color":"ededed"},{"url":"https://api.github.com/repos/agda/agda/labels/priority-high","name":"priority-high","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/agda/agda/milestones/2","html_url":"https://github.com/agda/agda/milestones/2.5.1","labels_url":"https://api.github.com/repos/agda/agda/milestones/2/labels","id":1247354,"number":2,"title":"2.5.1","description":"","creator":{"login":"asr","id":635804,"avatar_url":"https://avatars.githubusercontent.com/u/635804?v=3","gravatar_id":"","url":"https://api.github.com/users/asr","html_url":"https://github.com/asr","followers_url":"https://api.github.com/users/asr/followers","following_url":"https://api.github.com/users/asr/following{/other_user}","gists_url":"https://api.github.com/users/asr/gists{/gist_id}","starred_url":"https://api.github.com/users/asr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asr/subscriptions","organizations_url":"https://api.github.com/users/asr/orgs","repos_url":"https://api.github.com/users/asr/repos","events_url":"https://api.github.com/users/asr/events{/privacy}","received_events_url":"https://api.github.com/users/asr/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":138,"state":"open","created_at":"2015-08-09T23:15:42Z","updated_at":"2016-02-23T21:34:09Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-02-23T21:34:09Z","updated_at":"2016-02-23T21:34:09Z","closed_at":null,"body":"```\r\n{-# OPTIONS --allow-unsolved-metas #-}\r\n\r\nid : {A : Set} → A → A\r\nid x = x\r\n\r\nconst : {A : Set₁} {B : Set} → A → (B → A)\r\nconst x = λ _ → x\r\n\r\n{-# DISPLAY const x y = x #-}\r\n\r\ninfixr 4 _,_\r\ninfixr 2 _×_\r\n\r\nrecord Σ (A : Set) (B : A → Set) : Set where\r\n  constructor _,_\r\n  field\r\n    proj₁ : A\r\n    proj₂ : B proj₁\r\n\r\nopen Σ public\r\n\r\n_×_ : (A B : Set) → Set\r\nA × B = Σ A (const B)\r\n\r\nΣ-map : ∀ {A B : Set} {P : A → Set} {Q : B → Set} →\r\n        (f : A → B) → (∀ {x} → P x → Q (f x)) →\r\n        Σ A P → Σ B Q\r\nΣ-map f g = λ p → (f (proj₁ p) , g (proj₂ p))\r\n\r\nfoo : {A B : Set} → A × B → A × B\r\nfoo = Σ-map id {!!}\r\n```\r\nResult:\r\n```\r\nAn internal error has occurred. Please report this as a bug.\r\nLocation of the error: src/full/Agda/TypeChecking/DisplayForm.hs:83\r\n```"}}