summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorRichard Eisenberg <eir@cis.upenn.edu>2014-06-10 14:31:04 -0400
committerRichard Eisenberg <eir@cis.upenn.edu>2014-06-11 09:27:41 -0400
commit1153194ca1ec867ca01675a902cdf7dab72b5dab (patch)
treebce48cce40dd57384eaea6d535c69644a34e2001 /compiler
parent9e6c6b4206cd893434e49cd893eb67081eeffe99 (diff)
downloadhaskell-1153194ca1ec867ca01675a902cdf7dab72b5dab.tar.gz
Clarify error message. See #9167.
Diffstat (limited to 'compiler')
-rw-r--r--compiler/typecheck/TcTyClsDecls.lhs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/typecheck/TcTyClsDecls.lhs b/compiler/typecheck/TcTyClsDecls.lhs
index 4239530927..1b7ad4cb53 100644
--- a/compiler/typecheck/TcTyClsDecls.lhs
+++ b/compiler/typecheck/TcTyClsDecls.lhs
@@ -2074,7 +2074,7 @@ classFunDepsErr cls
noClassTyVarErr :: Class -> SDoc -> SDoc
noClassTyVarErr clas what
= sep [ptext (sLit "The") <+> what,
- ptext (sLit "mentions none of the type variables of the class") <+>
+ ptext (sLit "mentions none of the type or kind variables of the class") <+>
quotes (ppr clas <+> hsep (map ppr (classTyVars clas)))]
recSynErr :: [LTyClDecl Name] -> TcRn ()