@@ -323,13 +323,16 @@ process fn (Check (PRef _ n))
323323 showImp imp (delabTy ist n)) ts
324324 iResult ""
325325 [] -> iFail $ "No such variable " ++ show n
326−process fn (Check t) = do (tm, ty) <- elabVal toplevel False t
327− ctxt <- getContext
328− ist <- getIState
329− imp <- impShow
330− let ty' = normaliseC ctxt [] ty
331− iResult (showImp imp (delab ist tm) ++ " : " ++
332− showImp imp (delab ist ty))
326+process fn (Check t)
327+ = do (tm, ty) <- elabVal toplevel False t
328+ ctxt <- getContext
329+ ist <- getIState
330+ imp <- impShow
331+ let ty' = normaliseC ctxt [] ty
332+ case tm of
333+ TType _ -> iResult ("Type : Type 1")
334+ _ -> iResult (showImp imp (delab ist tm) ++ " : " ++
335+ showImp imp (delab ist ty))
333336
334337process fn (DocStr n) = do i <- getIState
335338 case lookupCtxtName n (idris_docstrings i) of