Improve error reports for kind checking (Trac #2994)
[ghc-hetmet.git] / compiler / typecheck / TcSplice.lhs
index af4d320..309874b 100644 (file)
@@ -565,7 +565,7 @@ kcTopSpliceType expr
        ; let doc = ptext (sLit "In the spliced type") <+> ppr hs_ty2
        ; hs_ty3 <- checkNoErrs (rnLHsType doc hs_ty2)
 
-       ; kcHsType hs_ty3 }
+       ; kcLHsType hs_ty3 }
 \end{code}
 
 %************************************************************************