
#13092: family instance consistency checks are too pessimistic -------------------------------------+------------------------------------- Reporter: rwbarton | Owner: rwbarton Type: bug | Status: new Priority: normal | Milestone: 8.2.1 Component: Compiler | Version: 8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time | Unknown/Multiple performance bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj):
When Main is compiled the interface file for B is not read at all!
Ah, that is the bit I was missing! (It's not read, because nobody mentions `X`.) If B.hi was read we would (I hope) get an overlap error when solving `(A (a,y))`. Well done! In fixing this, do give a careful account of the invariants etc. Simon -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13092#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler