Skip to content

Pattern match failure in RnNames.hs

When compiling dimensional-1.0.1.1 after patching numtype-dk with the patch at https://github.com/bjornbm/numtype-dk/issues/12 GHC does the "impossible":

[ 3 of 16] Compiling Numeric.Units.Dimensional.Dimensions.TypeLevel ( src/Numeric/Units/Dimensional/Dimensions/TypeLevel.hs, dist/dist-sandbox-68389a1a/build/Numeric/Units/Dimensional/Dimensions/TypeLevel.o )
ghc: panic! (the 'impossible' happened)
  (GHC version 8.0.0.20160421 for x86_64-unknown-linux):
	Pattern match failure in do expression at compiler/rename/RnNames.hs:902:12-50
Edited by Herbert Valerio Riedel
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information