[Hackage] #319: Warn if the source file for a module is ambigious.
Hackage
trac at galois.com
Tue Aug 5 15:22:07 EDT 2008
#319: Warn if the source file for a module is ambigious.
----------------------------+-----------------------------------------------
Reporter: duncan | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Cabal library | Version: HEAD
Severity: normal | Keywords:
Difficulty: normal | Ghcversion: 6.8.2
Platform: |
----------------------------+-----------------------------------------------
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`.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/319>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list