Re: [GHC] #5513: panic! (the 'impossible' happened) on ‘deriving instance lowercase_name a’
#5513: panic! (the 'impossible' happened) on ‘deriving instance lowercase_name a’ ---+ Reporter: andersk | Owner: Type: bug | Status: closed Priority: normal| Milestone: Component: Compiler |Version: 7.3 Resolution: fixed | Keywords: Testcase: rename/should_fail/T5513 | Blockedby: Difficulty:| Os: Unknown/Multiple Blocking:| Architecture: Unknown/Multiple Failure: Compile-time crash| ---+ Changes (by simonpj): * status: new = closed * testcase: = rename/should_fail/T5513 * resolution: = fixed Comment: Thaks for the report; now fixed. Simon -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5513#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #5513: panic! (the 'impossible' happened) on ‘deriving instance lowercase_name a’
#5513: panic! (the 'impossible' happened) on ‘deriving instance lowercase_name a’ -+-- Reporter: andersk | Owner: Type: bug | Status: new Priority: normal| Component: Compiler Version: 7.3 |Keywords: Testcase:| Blockedby: Os: Unknown/Multiple |Blocking: Architecture: Unknown/Multiple | Failure: Compile-time crash -+-- Comment(by simonpj@…): commit ce1f1cd5f0ec5f07475e44cf2b7f72e0cbb8a963 {{{ Author: Simon Peyton Jones simo...@microsoft.com Date: Thu Sep 29 16:47:57 2011 +0100 Tidy up the shape-checking for instance types (in instance and standalone deriving decls) Fixes Trac #5513. compiler/parser/Parser.y.pp |7 +++ compiler/parser/RdrHsSyn.lhs | 21 - compiler/rename/RnNames.lhs | 10 +++--- compiler/rename/RnSource.lhs |4 ++-- compiler/rename/RnTypes.lhs | 17 - 5 files changed, 28 insertions(+), 31 deletions(-) }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5513#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
[GHC] #5513: panic! (the 'impossible' happened) on ‘deriving instance lowercase_name a’
#5513: panic! (the 'impossible' happened) on ‘deriving instance lowercase_name a’ -+-- Reporter: andersk | Owner: Type: bug | Status: new Priority: normal| Component: Compiler Version: 7.3 |Keywords: Testcase:| Blockedby: Os: Unknown/Multiple |Blocking: Architecture: Unknown/Multiple | Failure: Compile-time crash -+-- This bogus code: {{{ {-# LANGUAGE StandaloneDeriving #-} deriving instance lowercase_name a }}} causes current GHC HEAD to panic: {{{ ghc: panic! (the 'impossible' happened) (GHC version 7.3.20110927 for x86_64-unknown-linux): nameModule lowercase_name{tv aar} Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} I also tested GHC 7.0.3, which correctly diagnosed the problem: {{{ crash.hs:2:19: Malformed instance header: lowercase_name a }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5513 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs