
#9547: Empty constraint tuples are mis-kinded -------------------------------------+------------------------------------- Reporter: simonpj | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler (Type | Version: 7.8.2 checker) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Iceland_jack): For the record, works if annotated: {{{#!hs import GHC.Exts foo :: If True (() :: Constraint) (Eq a) => a -> a foo = error "urk" }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9547#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler