[GHC] #10867: Primop types should not mention ()
GHC
ghc-devs at haskell.org
Mon Sep 14 10:45:01 UTC 2015
#10867: Primop types should not mention ()
-------------------------------------+-------------------------------------
Reporter: simonpj | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by simonpj):
> It looks like `check#` has the wrong type anyway, its implementation
returns () (ie. zero return values in Cmm), so its Haskell type should
have a return type of `State# RealWorld`
Ben: could you do this and validate, pls? Fixes a bug and helps move this
ticket along.
Simon
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10867#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list