[GHC] #2467: orphan instance warnings are badly behaved
GHC
trac at galois.com
Sun Jan 4 10:52:32 EST 2009
#2467: orphan instance warnings are badly behaved
---------------------------------+------------------------------------------
Reporter: duncan | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.12 branch
Component: Compiler | Version: 6.8.2
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
---------------------------------+------------------------------------------
Comment (by igloo):
Replying to [comment:8 simonpj]:
> Indeed, your code is legitimate, and that's why warnings are just
warnings!
>
> More concretely, what would you like? A special kind of warning that
(uniquely) does not make -Werror abort the compilation? That seems a bit
irregular... But perhaps you have something in mind.
Perhaps we should have separate control for two different classes of
orphan warnings:
* those where the class and all the types are in other packages (and thus
you may not be able to easily avoid the instance, e.g. if everything is in
the base package).
* the rest
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2467#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list