
#15772: Strange constraint error that disappears when adding another top-level declaration -------------------------------------+------------------------------------- Reporter: kosmikus | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler (Type | Version: 8.6.1 checker) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: GHC rejects | Unknown/Multiple valid program | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj): This looks subtle. I think that `Note [FunEq occurs-check principle]` may be implicated, and I'm worried that there's something subtle about solve order. FWIW, `-fdefer-type-errors` forces implications to be built more aggressively, and that too makes it work. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15772#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler