@@ -17,6 +17,7 @@ import GHC
17import Ormolu.Printer.Combinators
17import Ormolu.Printer.Combinators
18import Ormolu.Printer.Meat.Common
18import Ormolu.Printer.Meat.Common
19import Ormolu.Utils
19import Ormolu.Utils
20+import {-# SOURCE #-} Ormolu.Printer.Meat.Declaration.Value (p_hsSplice)
21p_hsType :: HsType GhcPs -> R ()
22p_hsType :: HsType GhcPs -> R ()
22p_hsType = \case
23p_hsType = \case
@@ -95,7 +96,7 @@ p_hsType = \case
97 located k p_hsType
98 located k p_hsType
98− HsSpliceTy _ _ -> error "HsSpliceTy"
99+ HsSpliceTy NoExt splice -> p_hsSplice splice
99 HsDocTy NoExt _ _ -> error "HsDocTy"
100 HsDocTy NoExt _ _ -> error "HsDocTy"
100 HsBangTy NoExt (HsSrcBang _ u s) t -> do
101 HsBangTy NoExt (HsSrcBang _ u s) t -> do
101 case u of
102 case u of