[GHC] #11396: deriving Ix with custom ifThenElse causes "Bad call to tagToEnum#"

GHC ghc-devs at haskell.org
Mon Jan 18 16:02:52 UTC 2016


#11396: deriving Ix with custom ifThenElse causes "Bad call to tagToEnum#"
-------------------------------------+-------------------------------------
        Reporter:  Lemming           |                Owner:  bgamari
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  8.0.1-rc1
      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:                    |
-------------------------------------+-------------------------------------
Changes (by simonpj):

 * owner:   => bgamari


Comment:

 This comes from the `inRange` case generated for `Ix`.  We decided to use
 guards instead.

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


More information about the ghc-tickets mailing list