
#10481: raise# should have an open kind in its return type -------------------------------------+------------------------------------- Reporter: gridaphobe | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.12.1 Component: Compiler | Version: 7.11 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by simonpj): * priority: low => normal * milestone: => 7.12.1 Comment: No, it can affect anyone: {{{ {-# LANGUAGE MagicHash #-} module Foo where import GHC.Prim f :: Int -> Int# f x = raise# x }}} This wrongly yields {{{ Kind incompatibility when matching types: b0 :: * Int# :: # In the expression: raise# x In an equation for âfâ: f x = raise# x }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10481#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler