{"action":"created","issue":{"url":"https://api.github.com/repos/purescript/purescript/issues/1509","labels_url":"https://api.github.com/repos/purescript/purescript/issues/1509/labels{/name}","comments_url":"https://api.github.com/repos/purescript/purescript/issues/1509/comments","events_url":"https://api.github.com/repos/purescript/purescript/issues/1509/events","html_url":"https://github.com/purescript/purescript/issues/1509","id":109907241,"number":1509,"title":"Warn when using \"open\" imports","user":{"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},"labels":[{"url":"https://api.github.com/repos/purescript/purescript/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/purescript/purescript/labels/error-message","name":"error-message","color":"f7c6c7"},{"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/11","html_url":"https://github.com/purescript/purescript/milestones/0.8.0","labels_url":"https://api.github.com/repos/purescript/purescript/milestones/11/labels","id":1073621,"number":11,"title":"0.8.0","description":"Focus areas:\r\n\r\n- Bug fixes\r\n- Performance\r\n- Improving error messages\r\n\r\nEverything else is being bumped to 0.9.","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":51,"closed_issues":96,"state":"open","created_at":"2015-04-18T23:12:02Z","updated_at":"2015-10-24T18:38:36Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-10-05T23:35:38Z","updated_at":"2015-10-25T13:44:03Z","closed_at":null,"body":"Include a copy-paste-able fix in the warning message that provides a version of the import with the used members selectively listed.\r\n\r\nI had been thinking we could change the syntax for open imports and require `import SomeModule (..)`, but upon reflection that's kinda arbitrary breakage - the warning that states its own fix should be sufficient."},"comment":{"url":"https://api.github.com/repos/purescript/purescript/issues/comments/150924139","html_url":"https://github.com/purescript/purescript/issues/1509#issuecomment-150924139","issue_url":"https://api.github.com/repos/purescript/purescript/issues/1509","id":150924139,"user":{"login":"hdgarrood","id":1270186,"avatar_url":"https://avatars.githubusercontent.com/u/1270186?v=3","gravatar_id":"","url":"https://api.github.com/users/hdgarrood","html_url":"https://github.com/hdgarrood","followers_url":"https://api.github.com/users/hdgarrood/followers","following_url":"https://api.github.com/users/hdgarrood/following{/other_user}","gists_url":"https://api.github.com/users/hdgarrood/gists{/gist_id}","starred_url":"https://api.github.com/users/hdgarrood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hdgarrood/subscriptions","organizations_url":"https://api.github.com/users/hdgarrood/orgs","repos_url":"https://api.github.com/users/hdgarrood/repos","events_url":"https://api.github.com/users/hdgarrood/events{/privacy}","received_events_url":"https://api.github.com/users/hdgarrood/received_events","type":"User","site_admin":false},"created_at":"2015-10-25T13:44:03Z","updated_at":"2015-10-25T13:44:03Z","body":"Sorry if I'm a bit late to this discussion, but I'm not convinced that open imports should always be discouraged. I remember reading that the GHC team think open imports are fine, and often preferable, if you're importing a module in the same package."}}