@@ -17,6 +17,7 @@ import GHC
1717import Ormolu.Printer.Combinators
1818import Ormolu.Printer.Meat.Common
1919import Ormolu.Utils
20+import {-# SOURCE #-} Ormolu.Printer.Meat.Declaration.Value (p_hsSplice)
2021
2122p_hsType :: HsType GhcPs -> R ()
2223p_hsType = \case
@@ -95,7 +96,7 @@ p_hsType = \case
9596 inci $ do
9697 txt ":: "
9798 located k p_hsType
98− HsSpliceTy _ _ -> error "HsSpliceTy"
99+ HsSpliceTy NoExt splice -> p_hsSplice splice
99100 HsDocTy NoExt _ _ -> error "HsDocTy"
100101 HsBangTy NoExt (HsSrcBang _ u s) t -> do
101102 case u of