
#7668: Location in -fdefer-type-errors ---------------------------------+------------------------------------------ Reporter: monoidal | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.2 Keywords: | Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: None/Unknown Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: | ---------------------------------+------------------------------------------ Changes (by simonpj): * difficulty: => Unknown Comment: Yes, that's a good point. It happens becuase the constraint solver "commons up" equal constraints. I suppose it could not do that when you have `-fdefer-type-errors`, but that would make the parts of the code that are perfectly ok have less sharing. I don't see an easy way to fix this. I'll just leave it open and see how pressing it seems in practice. Simon -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7668#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler