Warn if the source file for a module is ambigious. #312

Closed
bos opened this Issue May 24, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@bos
Contributor

bos commented May 24, 2012

(Imported from Trac #319, reported by @dcoutts on 2008-08-05)

For example if we are looking for a module Foo and there are files Foo.hs and Foo.y then we should use Foo.y as we do now, but we should warn about the presence of Foo.hs (and note the fact that we're ignoring it).

Similarly if we find Foo.x and Foo.y then we should warn about the one we're not using. Or arguably that should be a straight error. There's an obvious order relation between Foo.hs and Foo.y but not between Foo.x and Foo.y.

@tibbe

This comment has been minimized.

Show comment Hide comment
@tibbe

tibbe May 5, 2014

Member

Closing as there's been no activity in years.

We're cleaning up the bug tracker to make it useful again and are thus closing bugs that haven't seen any activity in a long time. Please re-open (or file a new bug) if the problem reappears.

Member

tibbe commented May 5, 2014

Closing as there's been no activity in years.

We're cleaning up the bug tracker to make it useful again and are thus closing bugs that haven't seen any activity in a long time. Please re-open (or file a new bug) if the problem reappears.

@tibbe tibbe closed this May 5, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment