[GHC] #12676: Panic with piResultTys1 again

#12676: Panic with piResultTys1 again -------------------------------------+------------------------------------- Reporter: pjmagni | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Compile-time Unknown/Multiple | crash Test Case: | Blocked By: Blocking: | Related Tickets: #12634 Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- The code {{{#!hs {-# LANGUAGE RankNTypes, TypeFamilies #-} module Panic where class C a where data T a panic :: (forall s . T a) -> () instance C () where data T () = T panic T = () }}} produces the output {{{ ghc: panic! (the 'impossible' happened) (GHC version 8.0.1 for x86_64-apple-darwin): piResultTys1 R:T() [Any] }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12676 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12676: Panic with piResultTys1 again -------------------------------------+------------------------------------- Reporter: pjmagni | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: Blocked By: | Blocking: Related Tickets: #12634 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by pjmagni): * Attachment "dcore-lint.txt" added. Output of ghc -dcore-lint -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12676 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12676: Panic with piResultTys1 again -------------------------------------+------------------------------------- Reporter: pjmagni | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: Blocked By: | Blocking: Related Tickets: #12634 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by mpickering): I can reproduce this with master. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12676#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12676: Panic with piResultTys1 again -------------------------------------+------------------------------------- Reporter: pjmagni | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: Blocked By: | Blocking: Related Tickets: #12634 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj): I've fixed this.. patch coming -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12676#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12676: Panic with piResultTys1 again
-------------------------------------+-------------------------------------
Reporter: pjmagni | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Compile-time | Unknown/Multiple
crash | Test Case:
Blocked By: | Blocking:
Related Tickets: #12634 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Simon Peyton Jones

#12676: Panic with piResultTys1 again -------------------------------------+------------------------------------- Reporter: pjmagni | Owner: Type: bug | Status: merge Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: Blocked By: | Blocking: Related Tickets: #12634 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by simonpj): * status: new => merge Comment: Thanks for a great bug report! Merge to 8.0 if poss. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12676#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12676: Panic with piResultTys1 again -------------------------------------+------------------------------------- Reporter: pjmagni | Owner: Type: bug | Status: closed Priority: normal | Milestone: 8.0.2 Component: Compiler | Version: 8.0.1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: Blocked By: | Blocking: Related Tickets: #12634 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: merge => closed * resolution: => fixed * milestone: => 8.0.2 Comment: Merged to `ghc-8.0` as bfaa770fdf97954e776f2d877270a59ec1bdc73d. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12676#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC