[GHC] #12779: isTrue# doesn't work in ghci anymore

GHC ghc-devs at haskell.org
Fri Oct 28 21:52:43 UTC 2016


#12779: isTrue# doesn't work in ghci anymore
-------------------------------------+-------------------------------------
        Reporter:  osa1              |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  GHCi              |              Version:  8.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #12718            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Description changed by osa1:

@@ -13,0 +13,2 @@
+
+ `isTrue#` is failing in 8.0.1 too.

New description:

 {{{#!haskell
 GHCi, version 8.1.20161028: http://www.haskell.org/ghc/  :? for help
 Prelude> :set -XMagicHash
 Prelude> :m + GHC.Types
 Prelude GHC.Types> isTrue# 123#
 True
 Prelude GHC.Types> [1]    3181 segmentation fault  ghc-stage2
 --interactive
 }}}

 This is also the reason why #12718 is segfaulting. I'm currently working
 on this.

 `isTrue#` is failing in 8.0.1 too.

--

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


More information about the ghc-tickets mailing list