{"action":"created","issue":{"url":"https://api.github.com/repos/agda/agda/issues/1713","labels_url":"https://api.github.com/repos/agda/agda/issues/1713/labels{/name}","comments_url":"https://api.github.com/repos/agda/agda/issues/1713/comments","events_url":"https://api.github.com/repos/agda/agda/issues/1713/events","html_url":"https://github.com/agda/agda/issues/1713","id":115192917,"number":1713,"title":"Parameterized modules export parameterized Set???","user":{"login":"Blaisorblade","id":289960,"avatar_url":"https://avatars.githubusercontent.com/u/289960?v=3","gravatar_id":"","url":"https://api.github.com/users/Blaisorblade","html_url":"https://github.com/Blaisorblade","followers_url":"https://api.github.com/users/Blaisorblade/followers","following_url":"https://api.github.com/users/Blaisorblade/following{/other_user}","gists_url":"https://api.github.com/users/Blaisorblade/gists{/gist_id}","starred_url":"https://api.github.com/users/Blaisorblade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blaisorblade/subscriptions","organizations_url":"https://api.github.com/users/Blaisorblade/orgs","repos_url":"https://api.github.com/users/Blaisorblade/repos","events_url":"https://api.github.com/users/Blaisorblade/events{/privacy}","received_events_url":"https://api.github.com/users/Blaisorblade/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/Priority-High","name":"Priority-High","color":"ededed"},{"url":"https://api.github.com/repos/agda/agda/labels/regression","name":"regression","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-05T02:02:57Z","updated_at":"2015-11-09T22:00:16Z","closed_at":null,"body":"I got a suspicious error message while porting a codebase of mine from Agda 2.4.0 (before the fix to #892) to 2.4.2.4 — the same porting that lead to #1712. [I have a commit](https://github.com/inc-lc/ilc-agda/commit/f9a5a48e99c09031a5e1f8ca44047397007038d1) showing the surprising error:\r\n\r\n```\r\nSet != Set (Type.Structure.Type Base)\r\nwhen checking that the expression Γ has type\r\n.Data.List.Base.List (_30 Base Const Γ)\r\n```\r\n\r\nI might be missing something, but that looks like a builtin `Set` parameterized by my codebase's `Type Base`. I have tons of modules taking a parameter of that type; so any chance that the fix of #892 is parameterizing all reexports, including Set, in some strange edge case?\r\n\r\nThe offending location probably hits some unusual code path, and seems hard to trigger: it uses an operator `_•_` which is overloaded across `Data.List.::` and `Data.List.All.::`, with multiple conflicting reexports from parameterized modules. After improving the situation a bit, I got a conflict between multiple identical exports of the same `_::_` operator, renamed to `_•_`.\r\n\r\nI also wonder if there's any relation to #1679."},"comment":{"url":"https://api.github.com/repos/agda/agda/issues/comments/155212195","html_url":"https://github.com/agda/agda/issues/1713#issuecomment-155212195","issue_url":"https://api.github.com/repos/agda/agda/issues/1713","id":155212195,"user":{"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},"created_at":"2015-11-09T22:00:16Z","updated_at":"2015-11-09T22:00:16Z","body":"I can confirm this issue for agda-2.4.2.5.  \r\nHowever, the test case needs shrinking before one can reasonably attempt a bug fix."}}