[GHC] #10867: Primop types should not mention ()

GHC ghc-devs at haskell.org
Fri Sep 11 15:43:56 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 fryguybob):

 The `checkzh` primop ends with `return ()` which is syntax and turns into
 `mkReturn` with an empty list of `CmmActual`.  Not sure if that helps.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10867#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list