X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=inline;f=compiler%2Frename%2FRnTypes.lhs;h=b275d2df40350ae71e563080d718855d527978f2;hb=1a9245caefb80a3c4c5965aaacdf9a607e792e1c;hp=e2897ee41f076f0b9ae0b3761ae813d475040f90;hpb=836b1e90821aacc9d1e09fe78085f911597274c8;p=ghc-hetmet.git diff --git a/compiler/rename/RnTypes.lhs b/compiler/rename/RnTypes.lhs index e2897ee..b275d2d 100644 --- a/compiler/rename/RnTypes.lhs +++ b/compiler/rename/RnTypes.lhs @@ -200,7 +200,9 @@ rnHsType _ ty@(HsQuasiQuoteTy _) = pprPanic "Can't do quasiquotation without GHC rnHsType doc (HsQuasiQuoteTy qq) = do { ty <- runQuasiQuoteType qq ; rnHsType doc (unLoc ty) } #endif +rnHsType _ (HsCoreTy ty) = return (HsCoreTy ty) +-------------- rnLHsTypes :: SDoc -> [LHsType RdrName] -> IOEnv (Env TcGblEnv TcLclEnv) [LHsType Name] rnLHsTypes doc tys = mapM (rnLHsType doc) tys