Improve error reports for kind checking (Trac #2994)
[ghc-hetmet.git] / compiler / typecheck / TcRnDriver.lhs
index cc7d63d..98279c4 100644 (file)
@@ -1266,7 +1266,7 @@ tcRnType hsc_env ictxt rdr_type
     failIfErrsM ;
 
        -- Now kind-check the type
-    (ty', kind) <- kcHsType rn_type ;
+    (ty', kind) <- kcLHsType rn_type ;
     return kind
     }
   where