{"action":"created","issue":{"url":"https://api.github.com/repos/agda/agda/issues/3416","repository_url":"https://api.github.com/repos/agda/agda","labels_url":"https://api.github.com/repos/agda/agda/issues/3416/labels{/name}","comments_url":"https://api.github.com/repos/agda/agda/issues/3416/comments","events_url":"https://api.github.com/repos/agda/agda/issues/3416/events","html_url":"https://github.com/agda/agda/issues/3416","id":384832778,"node_id":"MDU6SXNzdWUzODQ4MzI3Nzg=","number":3416,"title":"Warnings are printed before errors","user":{"login":"nad","id":293222,"node_id":"MDQ6VXNlcjI5MzIyMg==","avatar_url":"https://avatars0.githubusercontent.com/u/293222?v=4","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":257165441,"node_id":"MDU6TGFiZWwyNTcxNjU0NDE=","url":"https://api.github.com/repos/agda/agda/labels/regression","name":"regression","color":"c60205","default":false},{"id":245647317,"node_id":"MDU6TGFiZWwyNDU2NDczMTc=","url":"https://api.github.com/repos/agda/agda/labels/type:%20bug","name":"type: bug","color":"c60205","default":false},{"id":647750874,"node_id":"MDU6TGFiZWw2NDc3NTA4NzQ=","url":"https://api.github.com/repos/agda/agda/labels/warnings","name":"warnings","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"gallais","id":1094905,"node_id":"MDQ6VXNlcjEwOTQ5MDU=","avatar_url":"https://avatars1.githubusercontent.com/u/1094905?v=4","gravatar_id":"","url":"https://api.github.com/users/gallais","html_url":"https://github.com/gallais","followers_url":"https://api.github.com/users/gallais/followers","following_url":"https://api.github.com/users/gallais/following{/other_user}","gists_url":"https://api.github.com/users/gallais/gists{/gist_id}","starred_url":"https://api.github.com/users/gallais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gallais/subscriptions","organizations_url":"https://api.github.com/users/gallais/orgs","repos_url":"https://api.github.com/users/gallais/repos","events_url":"https://api.github.com/users/gallais/events{/privacy}","received_events_url":"https://api.github.com/users/gallais/received_events","type":"User","site_admin":false},"assignees":[{"login":"gallais","id":1094905,"node_id":"MDQ6VXNlcjEwOTQ5MDU=","avatar_url":"https://avatars1.githubusercontent.com/u/1094905?v=4","gravatar_id":"","url":"https://api.github.com/users/gallais","html_url":"https://github.com/gallais","followers_url":"https://api.github.com/users/gallais/followers","following_url":"https://api.github.com/users/gallais/following{/other_user}","gists_url":"https://api.github.com/users/gallais/gists{/gist_id}","starred_url":"https://api.github.com/users/gallais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gallais/subscriptions","organizations_url":"https://api.github.com/users/gallais/orgs","repos_url":"https://api.github.com/users/gallais/repos","events_url":"https://api.github.com/users/gallais/events{/privacy}","received_events_url":"https://api.github.com/users/gallais/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/agda/agda/milestones/22","html_url":"https://github.com/agda/agda/milestone/22","labels_url":"https://api.github.com/repos/agda/agda/milestones/22/labels","id":2988930,"node_id":"MDk6TWlsZXN0b25lMjk4ODkzMA==","number":22,"title":"2.6.0","description":"","creator":{"login":"asr","id":635804,"node_id":"MDQ6VXNlcjYzNTgwNA==","avatar_url":"https://avatars2.githubusercontent.com/u/635804?v=4","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":137,"closed_issues":134,"state":"open","created_at":"2017-12-19T15:00:28Z","updated_at":"2018-11-27T14:53:45Z","due_on":"2018-11-30T08:00:00Z","closed_at":null},"comments":1,"created_at":"2018-11-27T14:53:45Z","updated_at":"2018-11-27T16:46:41Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Consider the following code:\r\n```agda\r\nA : Set\r\nA = A\r\n\r\nB : Set\r\nB = Set\r\n```\r\nWhen I load this code in Emacs the cursor jumps to the final occurrence of `Set`, and the following text is printed in the information buffer:\r\n```\r\n———— Warning(s) ————————————————————————————————————————————\r\n[...]/Bug.agda:1,1-2,6\r\nTermination checking failed for the following functions:\r\n  A\r\nProblematic calls:\r\n  A (at [...]/Bug.agda:2,5-6)\r\n———— Error —————————————————————————————————————————————————\r\n[...]/Bug.agda:5,5-8\r\nSet₁ != Set\r\nwhen checking that the expression Set has type Set\r\n```\r\nGiven that the cursor jumps to the problem associated with the error I really think that the error should precede the warnings in the information buffer. The current output can be rather confusing.\r\n\r\nThis is a regression, Agda 2.5.4.2 prints the error before the warnings."},"comment":{"url":"https://api.github.com/repos/agda/agda/issues/comments/442130579","html_url":"https://github.com/agda/agda/issues/3416#issuecomment-442130579","issue_url":"https://api.github.com/repos/agda/agda/issues/3416","id":442130579,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjEzMDU3OQ==","user":{"login":"gallais","id":1094905,"node_id":"MDQ6VXNlcjEwOTQ5MDU=","avatar_url":"https://avatars1.githubusercontent.com/u/1094905?v=4","gravatar_id":"","url":"https://api.github.com/users/gallais","html_url":"https://github.com/gallais","followers_url":"https://api.github.com/users/gallais/followers","following_url":"https://api.github.com/users/gallais/following{/other_user}","gists_url":"https://api.github.com/users/gallais/gists{/gist_id}","starred_url":"https://api.github.com/users/gallais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gallais/subscriptions","organizations_url":"https://api.github.com/users/gallais/orgs","repos_url":"https://api.github.com/users/gallais/repos","events_url":"https://api.github.com/users/gallais/events{/privacy}","received_events_url":"https://api.github.com/users/gallais/received_events","type":"User","site_admin":false},"created_at":"2018-11-27T16:46:41Z","updated_at":"2018-11-27T16:46:41Z","author_association":"MEMBER","body":"@fredrikNordvallForsberg No problem!"}}
{"actor":{"display_login":"gallais"}}