Re: [GHC] #7358: ghc: panic! (The 'impossible' happened) from RnSource.lhs
#7358: ghc: panic! (The 'impossible' happened) from RnSource.lhs +--- Reporter: jeffshaw| Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.4.2 | Keywords: Os: Linux | Architecture: x86_64 (amd64) Failure: Compile-time crash | Testcase: Blockedby: | Blocking: Related: | +--- Comment(by jeffshaw): ghc: panic! (the 'impossible' happened) (GHC version 7.4.2 for x86_64-unknown-linux): compiler/rename/RnSource.lhs:430:14-81: Irrefutable pattern failed for pattern Data.Maybe.Just (inst_tyvars, _, SrcLoc.L _ cls, _) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug Here is the source code that creates this error: instance A a = B a = C a where c = a -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7358#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
Re: [GHC] #7358: ghc: panic! (The 'impossible' happened) from RnSource.lhs
#7358: ghc: panic! (The 'impossible' happened) from RnSource.lhs +--- Reporter: jeffshaw| Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.4.2 | Keywords: Os: Linux | Architecture: x86_64 (amd64) Failure: Compile-time crash | Testcase: Blockedby: | Blocking: Related: | +--- Comment(by jeffshaw): More minimal example: instance A = A = A where a = a -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7358#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] #7358: ghc: panic! (The 'impossible' happened) from RnSource.lhs
#7358: ghc: panic! (The 'impossible' happened) from RnSource.lhs ---+ Reporter: jeffshaw|Owner: Type: bug | Status: closed Priority: normal |Component: Compiler Version: 7.4.2 | Resolution: duplicate Keywords: | Os: Linux Architecture: x86_64 (amd64) | Failure: Compile-time crash Testcase: |Blockedby: Blocking: | Related: ---+ Changes (by michalt): * status: new = closed * resolution: = duplicate Comment: Thanks for reporting. It seems to be a duplicate of #5951, which is already fixed. With current HEAD you get something like: {{{ [1 of 1] Compiling Test ( Test.hs, Test.o ) Test.hs:6:10: Malformed instance: A = A = A }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7358#comment:3 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] #7358: ghc: panic! (The 'impossible' happened) from RnSource.lhs
#7358: ghc: panic! (The 'impossible' happened) from RnSource.lhs ---+ Reporter: jeffshaw|Owner: Type: bug | Status: closed Priority: normal |Component: Compiler Version: 7.4.2 | Resolution: duplicate Keywords: | Os: Linux Architecture: x86_64 (amd64) | Failure: Compile-time crash Testcase: |Blockedby: Blocking: | Related: ---+ Comment(by jeffshaw): Sorry, I saw 5951, but missed that its version had changed from 7.4.1. Thanks! -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7358#comment:4 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