[GHC] #15935: TYPE is not generated by genprimops

GHC ghc-devs at haskell.org
Thu Nov 29 15:21:13 UTC 2018


#15935: TYPE is not generated by genprimops
-------------------------------------+-------------------------------------
        Reporter:  davide            |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Core Libraries    |              Version:  8.6.2
      Resolution:                    |             Keywords:  newcomer
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by bgamari):

 * keywords:  GHC.Magic TYPE haddock GHC.Prim genprimops => newcomer


Comment:

 It's not quite that simple; `utils/genprimop` knows nothing of the `r`
 tyvar. You will need to introduce such a variable, along with a `primtype`
 for `RuntimeRep` itself.

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


More information about the ghc-tickets mailing list