
#13089: GHC panics when importing Array from Data.Array.Repa -------------------------------------+------------------------------------- Reporter: cbaatz | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 | (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Description changed by RyanGlScott: @@ -4,0 +4,1 @@ + {{{#!hs @@ -6,0 +7,1 @@ + }}} @@ -9,0 +11,1 @@ + {{{#!hs @@ -10,0 +13,1 @@ + }}} @@ -15,1 +19,1 @@ - ``` + {{{ @@ -28,1 +32,1 @@ - ``` + }}} New description: I stumbled upon a GHC panic for some reason. The error message is below. The error disappears when I replace: {{{#!hs import Data.Array.Repa ((:.) (..), Array, DIM1, DIM2, U, Z (..)) }}} with {{{#!hs import Data.Array.Repa ((:.) (..), DIM1, DIM2, U, Z (..)) }}} and I've confirmed that it panics with: import Data.Array.Repa (Array) {{{ ghc: panic! (the 'impossible' happened) (GHC version 8.0.1 for x86_64-apple-darwin): filterImports/combine (Array, Array{Array, AByteString, ACursored, ADelayed, AForeignPtr, AInterleave, ASmall, APart, AUnboxed, AUndefined, AVector, cursoredExtent, loadCursor, makeCursor, shiftCursor}, Nothing) (Array, Source{Source, Array, deepSeqArray, extent, index, linearIndex, unsafeIndex, unsafeLinearIndex}, Nothing) }}} -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13089#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler