[GHC] #13685: ghc: panic
GHC
ghc-devs at haskell.org
Thu May 11 01:52:19 UTC 2017
#13685: ghc: panic
-------------------------------------+-------------------------------------
Reporter: Iceland_jack | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
A friendly compiler asked me to report
{{{#!hs
{-# Language KindSignatures, TypeInType, MagicHash #-}
module A where
import Data.Kind
import GHC.Types
i :: (a :: TYPE DoubleRep) -> a
i x = x
main = print (D# (i 3.0##))
}}}
panics
{{{
$ ghci -ignore-dot-ghci /tmp/A.hs
GHCi, version 8.0.1: http://www.haskell.org/ghc/ :? for help
[1 of 1] Compiling A ( /tmp/A.hs, interpreted )
ghc: panic! (the 'impossible' happened)
(GHC version 8.0.1 for x86_64-unknown-linux):
getIdFromTrivialExpr 3.0##
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13685>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list