X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Frename%2FRnExpr.lhs;h=5e55fd09a1fc5a4a89065f2df64e8cdec01c7369;hb=98d5ffd5eaa8af06c2d3ac7118ed09737c7d2a50;hp=34df4180050b623cdf4e228b99bfe8b11b325234;hpb=14a17049447fc3532b81ea2e2ff7e2637a607be1;p=ghc-hetmet.git diff --git a/ghc/compiler/rename/RnExpr.lhs b/ghc/compiler/rename/RnExpr.lhs index 34df418..5e55fd0 100644 --- a/ghc/compiler/rename/RnExpr.lhs +++ b/ghc/compiler/rename/RnExpr.lhs @@ -829,8 +829,8 @@ nonStdGuardErr guard ) 4 (ppr guard) patSigErr ty - = hang (ptext SLIT("Illegal signature in pattern:") <+> ppr ty) - 4 (ptext SLIT("Use -fglasgow-exts to permit it")) + = (ptext SLIT("Illegal signature in pattern:") <+> ppr ty) + $$ nest 4 (ptext SLIT("Use -fglasgow-exts to permit it")) pp_op (op, fix) = hcat [ppr op, space, parens (ppr fix)] \end{code}