Skip to content

dmdTransformDictSelSig panic

Installing xmlhtml with HEAD panicks, while it works in 7.6.3.

ghc: panic! (the 'impossible' happened)
  (GHC version 7.7.20130918 for x86_64-unknown-linux):
	dmdTransformDictSelSig: split failed

I reduced this panic to four files:

Common.hs

module Common where

import Data.String (fromString)

encodingName :: String
encodingName = fromString ""

Meta.hs

{-# OPTIONS_GHC -O0 #-}

module Meta where

import Data.String

Parse.hs

module Parse where

import Meta

XmlHtml.hs

module XmlHtml where

import Parse
import Common

Remove *.hi and *.o files and compile ghc -O XmlHtml to get the panic.

Trac metadata
Trac field Value
Version 7.7
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information