X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Frename%2FRnTypes.lhs;h=b275d2df40350ae71e563080d718855d527978f2;hp=e2897ee41f076f0b9ae0b3761ae813d475040f90;hb=1a9245caefb80a3c4c5965aaacdf9a607e792e1c;hpb=c27e722fcf8ea5fb4dc0c64e9e1d6c4b66abd46c 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