freebsd-ports/lang/ghc5/files/patch-ghc_compiler_ndpFlatten_Flattening.hs
Pav Lucistnik bacc228660 - Unbreak on 5.X
PR:		ports/81474
Submitted by:	Johan van Selst <johans@stack.nl>
2005-05-25 22:02:58 +00:00

13 lines
567 B
Haskell

--- ghc/compiler/ndpFlatten/Flattening.hs.orig Tue May 24 22:10:38 2005
+++ ghc/compiler/ndpFlatten/Flattening.hs Tue May 24 22:10:56 2005
@@ -650,8 +650,8 @@ dftbpBinders indexBnds exprBnds =
return ((fBnd, (newBnd:restBnds)), liftTy ty)
dftbpBinders' _ _ _ =
- panic "Flattening.dftbpBinders: index and expression binder lists \
- \have different length!"
+ panic ("Flattening.dftbpBinders: index and expression binder lists "++
+ "have different length!")
getExprOfBind:: CoreBind -> CoreExpr
getExprOfBind (NonRec _ expr) = expr