[GHC] #11611: ghc panics
GHC
ghc-devs at haskell.org
Sat Feb 20 08:08:58 UTC 2016
#11611: ghc panics
-------------------------------------+-------------------------------------
Reporter: Iceland_jack | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.1
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 hvr):
I notice you're not using a recent GHC HEAD snapshot. I've just tried in
recent GHC HEAD & GHC 8.0RC and in both cases GHC does not panic:
{{{
$ ghci-8.0.0.20160218 -ignore-dot-ghci Panic.hs
GHCi, version 8.0.0.20160218: http://www.haskell.org/ghc/ :? for help
[1 of 1] Compiling Main ( Panic.hs, interpreted )
Panic.hs:6:37: error:
• Expected kind ‘[*]’, but ‘a’ has kind ‘*’
• In the first argument of ‘A’, namely ‘a’
In the first argument of ‘Show’, namely ‘A a’
In the stand-alone deriving instance for ‘Show a => Show (A a)’
}}}
{{{
$ ghci-8.1.20160218 -ignore-dot-ghci Panic.hs
GHCi, version 8.1.20160218: http://www.haskell.org/ghc/ :? for help
[1 of 1] Compiling Main ( Panic.hs, interpreted )
Panic.hs:6:37: error:
• Expected kind ‘[*]’, but ‘a’ has kind ‘*’
• In the first argument of ‘A’, namely ‘a’
In the first argument of ‘Show’, namely ‘A a’
In the stand-alone deriving instance for ‘Show a => Show (A a)’
Failed, modules loaded: none.
Prelude>
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11611#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list