{"action":"opened","issue":{"url":"https://api.github.com/repos/agda/agda/issues/2321","repository_url":"https://api.github.com/repos/agda/agda","labels_url":"https://api.github.com/repos/agda/agda/issues/2321/labels{/name}","comments_url":"https://api.github.com/repos/agda/agda/issues/2321/comments","events_url":"https://api.github.com/repos/agda/agda/issues/2321/events","html_url":"https://github.com/agda/agda/issues/2321","id":192284008,"number":2321,"title":"An accepted definition is rejected if it is made private","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":[{"id":245647317,"url":"https://api.github.com/repos/agda/agda/labels/bug","name":"bug","color":"fc2929","default":true},{"id":245647618,"url":"https://api.github.com/repos/agda/agda/labels/coinduction","name":"coinduction","color":"ededed","default":false},{"id":257165441,"url":"https://api.github.com/repos/agda/agda/labels/regression","name":"regression","color":"e11d21","default":false},{"id":245648168,"url":"https://api.github.com/repos/agda/agda/labels/scope","name":"scope","color":"ededed","default":false}],"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":9,"closed_issues":202,"state":"open","created_at":"2016-04-18T13:25:09Z","updated_at":"2016-11-29T13:38:51Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-11-29T13:38:51Z","updated_at":"2016-11-29T13:38:51Z","closed_at":null,"body":"The following code is rejected by Agda-2.6.0-a3ab0a8, but accepted by Agda 2.5.1.1:\r\n```\r\nopen import Agda.Builtin.Coinduction\r\nopen import Agda.Builtin.Equality\r\nopen import Agda.Builtin.List\r\nopen import Agda.Builtin.Nat\r\n\r\ninfixr 5 _∷_\r\n\r\ndata Stream (A : Set) : Set where\r\n  _∷_ : (x : A) (xs : ∞ (Stream A)) → Stream A\r\n\r\nhead : ∀ {A} → Stream A → A\r\nhead (x ∷ xs) = x\r\n\r\ntail : ∀ {A} → Stream A → Stream A\r\ntail (x ∷ xs) = ♭ xs\r\n\r\ntake : ∀ {A} n → Stream A → List A\r\ntake zero    xs       = []\r\ntake (suc n) (x ∷ xs) = x ∷ take n (♭ xs)\r\n\r\naccepted : ∀ {A} {n} (xs : Stream A) →\r\n           take (suc n) xs ≡ take (suc n) (head xs ∷ ♯ tail xs)\r\naccepted (x ∷ xs) = refl\r\n\r\nprivate\r\n\r\n  rejected : ∀ {A} {n} (xs : Stream A) →\r\n             take (suc n) xs ≡ take (suc n) (head xs ∷ ♯ tail xs)\r\n  rejected (x ∷ xs) = refl\r\n```\r\nNote that the only difference between `accepted` and `rejected` is that the latter is private."}}
{"actor":{"display_login":"nad"}}