[GHC] #7897: MakeTypeRep fingerprints be proper, robust fingerprints

GHC ghc-devs at haskell.org
Sun May 14 22:31:08 UTC 2017


#7897: MakeTypeRep fingerprints be proper, robust fingerprints
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  ⊥
       Component:  Compiler          |              Version:  7.6.3
      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 cdupont):

 I have a real use case for this bug in Hint:
 https://github.com/mvdan/hint/issues/31

 Having proper fingerprints would allow to check the run time type
 representation and prevent the segfault.
 Is there a workaround? How to check the structure of a type at run-time?

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


More information about the ghc-tickets mailing list