
#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 RyanGlScott): This appears to be a regression, since this program typechecks in GHC 8.0, but not in 8.2 and later. (It also typechecks in 7.8 and 7.10, provided you make some tweaks to support older GHCs). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15772#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler