[GHC] #12718: Segmentation fault, runtime representation polymorphism

GHC ghc-devs at haskell.org
Sat Oct 29 04:05:12 UTC 2016


#12718: Segmentation fault, runtime representation polymorphism
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  GHCi crash        |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #12779            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Iceland_jack):

 Replying to [comment:7 osa1]:
 > rwbarton pointed out in #12779 that argument of `isTrue#` should be `0#`
 or `1#`. ''[...]''

 Liquid Haskell be like??

 {{{#!hs
 isTrue# :: { v:Int# | v == 0# || v == 1# } -> Bool
 }}}

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


More information about the ghc-tickets mailing list