X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Frename%2FRnTypes.lhs;h=7a0948ebada183ced735a7af24a33dfcbc4bbf35;hb=5e09d0886105fdfec4d7e8aaf2115b92ee18cfaa;hp=20803bea40a80725a3bab902c77b26998e637752;hpb=ea807c3ab68876c5b00eebed57207d4902f5d2c4;p=ghc-hetmet.git diff --git a/compiler/rename/RnTypes.lhs b/compiler/rename/RnTypes.lhs index 20803be..7a0948e 100644 --- a/compiler/rename/RnTypes.lhs +++ b/compiler/rename/RnTypes.lhs @@ -170,9 +170,8 @@ rnHsType doc (HsPredTy pred) = do pred' <- rnPred doc pred return (HsPredTy pred') -rnHsType _ (HsSpliceTy _) = do - addErr (ptext (sLit "Type splices are not yet implemented")) - failM +rnHsType _ (HsSpliceTy _) = + failWith (ptext (sLit "Type splices are not yet implemented")) rnHsType doc (HsDocTy ty haddock_doc) = do ty' <- rnLHsType doc ty