
#9611: Suggest the cause of "No instance" errors involving multiple versions of a package -------------------------------------+------------------------------------- Reporter: rwbarton | Owner: Type: feature | Status: new request | Milestone: Priority: normal | Version: 7.8.3 Component: Compiler | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: | Difficulty: Unknown Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by simonpj): I expect this would be do-able (look in `TcErrors`), but it'd mean implementing a variant of the instance-matching code, to look for a match "by name" (where `p1:A.B.T` matches `p2:A.B.T`) rather than "by identity" where those two types are simply different. I can offer guidance if someone tackles this. Simon -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9611#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler