{"action":"created","issue":{"url":"https://api.github.com/repos/purescript/purescript/issues/2138","repository_url":"https://api.github.com/repos/purescript/purescript","labels_url":"https://api.github.com/repos/purescript/purescript/issues/2138/labels{/name}","comments_url":"https://api.github.com/repos/purescript/purescript/issues/2138/comments","events_url":"https://api.github.com/repos/purescript/purescript/issues/2138/events","html_url":"https://github.com/purescript/purescript/issues/2138","id":155403142,"number":2138,"title":"Shadowed type exports should be merged so all listed data constructors are exported","user":{"login":"kika","id":207889,"avatar_url":"https://avatars.githubusercontent.com/u/207889?v=3","gravatar_id":"","url":"https://api.github.com/users/kika","html_url":"https://github.com/kika","followers_url":"https://api.github.com/users/kika/followers","following_url":"https://api.github.com/users/kika/following{/other_user}","gists_url":"https://api.github.com/users/kika/gists{/gist_id}","starred_url":"https://api.github.com/users/kika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kika/subscriptions","organizations_url":"https://api.github.com/users/kika/orgs","repos_url":"https://api.github.com/users/kika/repos","events_url":"https://api.github.com/users/kika/events{/privacy}","received_events_url":"https://api.github.com/users/kika/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/purescript/purescript/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/purescript/purescript/labels/modules","name":"modules","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"garyb","id":693642,"avatar_url":"https://avatars.githubusercontent.com/u/693642?v=3","gravatar_id":"","url":"https://api.github.com/users/garyb","html_url":"https://github.com/garyb","followers_url":"https://api.github.com/users/garyb/followers","following_url":"https://api.github.com/users/garyb/following{/other_user}","gists_url":"https://api.github.com/users/garyb/gists{/gist_id}","starred_url":"https://api.github.com/users/garyb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garyb/subscriptions","organizations_url":"https://api.github.com/users/garyb/orgs","repos_url":"https://api.github.com/users/garyb/repos","events_url":"https://api.github.com/users/garyb/events{/privacy}","received_events_url":"https://api.github.com/users/garyb/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/purescript/purescript/milestones/18","html_url":"https://github.com/purescript/purescript/milestones/0.9.1","labels_url":"https://api.github.com/repos/purescript/purescript/milestones/18/labels","id":1783074,"number":18,"title":"0.9.1","description":"","creator":{"login":"paf31","id":630306,"avatar_url":"https://avatars.githubusercontent.com/u/630306?v=3","gravatar_id":"","url":"https://api.github.com/users/paf31","html_url":"https://github.com/paf31","followers_url":"https://api.github.com/users/paf31/followers","following_url":"https://api.github.com/users/paf31/following{/other_user}","gists_url":"https://api.github.com/users/paf31/gists{/gist_id}","starred_url":"https://api.github.com/users/paf31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paf31/subscriptions","organizations_url":"https://api.github.com/users/paf31/orgs","repos_url":"https://api.github.com/users/paf31/repos","events_url":"https://api.github.com/users/paf31/events{/privacy}","received_events_url":"https://api.github.com/users/paf31/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2016-05-23T15:25:29Z","updated_at":"2016-05-23T15:27:28Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-05-18T02:21:37Z","updated_at":"2016-05-23T15:27:31Z","closed_at":null,"body":"Repro case:\r\n```purescript\r\nmodule Problem (A, A(..)) where\r\ndata A = B | C\r\n```\r\n\r\n```purescript\r\nimport Problem (A(B,C))\r\n```\r\n\r\nCompiling the second file generates `Module Problem does not export data constructor B for type A`\r\n\r\nI suggest giving an error for such shadowing or at least warning if such export might be useful in some case (which I can't think of)."},"comment":{"url":"https://api.github.com/repos/purescript/purescript/issues/comments/221010441","html_url":"https://github.com/purescript/purescript/issues/2138#issuecomment-221010441","issue_url":"https://api.github.com/repos/purescript/purescript/issues/2138","id":221010441,"user":{"login":"paf31","id":630306,"avatar_url":"https://avatars.githubusercontent.com/u/630306?v=3","gravatar_id":"","url":"https://api.github.com/users/paf31","html_url":"https://github.com/paf31","followers_url":"https://api.github.com/users/paf31/followers","following_url":"https://api.github.com/users/paf31/following{/other_user}","gists_url":"https://api.github.com/users/paf31/gists{/gist_id}","starred_url":"https://api.github.com/users/paf31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paf31/subscriptions","organizations_url":"https://api.github.com/users/paf31/orgs","repos_url":"https://api.github.com/users/paf31/repos","events_url":"https://api.github.com/users/paf31/events{/privacy}","received_events_url":"https://api.github.com/users/paf31/received_events","type":"User","site_admin":false},"created_at":"2016-05-23T15:27:31Z","updated_at":"2016-05-23T15:27:31Z","body":"@garyb Do you think this is doable for 0.9.1?"}}
{"actor":{"display_login":"paf31"}}