#5520: Spurious warning with new associated types and MultiParamTypeClasses
---------------------------------+------------------------------------------
Reporter: batterseapower | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.3
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Incorrect warning at
compile-time
---------------------------------+------------------------------------------
Comment(by simonpj):
What do you want?
* Do not emit such warnings at all
* Emit only if a flag says so (curent the flag is `-fwarn-missing-
methods` but we could be more specific, `-fwarm-missing-ats`, I suppose
* See if there's a top level instance (in this module? imported?). I
rather not do this; it seems too non-local to me, and would be significant
effort.
Maybe an assocaited type isn't the right thing for this case? And it's
only a warning!
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5520#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs