[commit: ghc] wip/ttypeable: CoreLint: Improve debug output (16e3617)
git at git.haskell.org
git at git.haskell.org
Sun Jan 29 20:17:46 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/ttypeable
Link : http://ghc.haskell.org/trac/ghc/changeset/16e361743ecb206194784b5064d774e7c10ff9ab/ghc
>---------------------------------------------------------------
commit 16e361743ecb206194784b5064d774e7c10ff9ab
Author: Ben Gamari <ben at smart-cactus.org>
Date: Sun Jan 31 21:35:20 2016 +0100
CoreLint: Improve debug output
>---------------------------------------------------------------
16e361743ecb206194784b5064d774e7c10ff9ab
compiler/coreSyn/CoreLint.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler/coreSyn/CoreLint.hs b/compiler/coreSyn/CoreLint.hs
index 6a3f15d..c86b6b2 100644
--- a/compiler/coreSyn/CoreLint.hs
+++ b/compiler/coreSyn/CoreLint.hs
@@ -878,7 +878,7 @@ lintTyKind tyvar arg_ty
-- and then apply it to both boxed and unboxed types.
= do { arg_kind <- lintType arg_ty
; unless (arg_kind `eqType` tyvar_kind)
- (addErrL (mkKindErrMsg tyvar arg_ty $$ (text "xx" <+> ppr arg_kind))) }
+ (addErrL (mkKindErrMsg tyvar arg_ty $$ (text "Linted Arg kind:" <+> ppr arg_kind))) }
where
tyvar_kind = tyVarKind tyvar
More information about the ghc-commits
mailing list