[GHC] #12127: ghc-8.0.1: panic! (the 'impossible' happened) filterImports/combine (double import)

#12127: ghc-8.0.1: panic! (the 'impossible' happened) filterImports/combine (double import) -------------------------------------+------------------------------------- Reporter: slyfox | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: GHC rejects Unknown/Multiple | valid program Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- It's a distilled example or repa-devil-0.3.2.6 build failure: {{{#!hs -- Cursored.hs: {-# LANGUAGE TypeFamilies #-} module Cursored where class Source r where data Array r instance Source () where data Array () = F { f :: Int } }}} {{{#!hs -- Bug.hs: module DevIL () where import Cursored (Array(..), Source(..)) }}} {{{ [1 of 2] Compiling Cursored ( Cursored.hs, Cursored.o ) [2 of 2] Compiling DevIL ( Bug.hs, Bug.o ) ghc: panic! (the 'impossible' happened) (GHC version 8.0.1 for x86_64-unknown-linux): filterImports/combine (Array, Array{Array, F, f}, Nothing) (Array, Source{Source, Array}, Nothing) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} The error is the same as #11959 but involved entities are slightly different. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12127 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12127: ghc-8.0.1: panic! (the 'impossible' happened) filterImports/combine (double import) -------------------------------------+------------------------------------- Reporter: slyfox | Owner: Type: bug | Status: new Priority: high | Milestone: 8.0.2 Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: GHC rejects | Unknown/Multiple valid program | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by thomie): * priority: normal => high * milestone: => 8.0.2 Comment: Regression from GHC 7.10.3. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12127#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12127: ghc-8.0.1: panic! (the 'impossible' happened) filterImports/combine (double
import)
-------------------------------------+-------------------------------------
Reporter: slyfox | Owner:
Type: bug | Status: new
Priority: high | Milestone: 8.0.2
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: GHC rejects | Unknown/Multiple
valid program | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Simon Peyton Jones

#12127: ghc-8.0.1: panic! (the 'impossible' happened) filterImports/combine (double import) -------------------------------------+------------------------------------- Reporter: slyfox | Owner: Type: bug | Status: merge Priority: high | Milestone: 8.0.2 Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: GHC rejects | Test Case: valid program | rename/should_compile/T12127 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by simonpj): * status: new => merge * testcase: => rename/should_compile/T12127 Comment: Simple fix, could merge. simon -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12127#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12127: ghc-8.0.1: panic! (the 'impossible' happened) filterImports/combine (double import) -------------------------------------+------------------------------------- Reporter: slyfox | Owner: Type: bug | Status: closed Priority: high | Milestone: 8.0.2 Component: Compiler | Version: 8.0.1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: GHC rejects | Test Case: valid program | rename/should_compile/T12127 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: merge => closed * resolution: => fixed Comment: Merged to `ghc-8.0` as 09a46035a1be854f8209416cabcaf907717b4167. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12127#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC