@@ -13,6 +13,7 @@ import Data.List (sortOn)
14import Ormolu.Printer.Combinators
14import Ormolu.Printer.Combinators
15import Ormolu.Printer.Meat.Common
15import Ormolu.Printer.Meat.Common
16+import Ormolu.Printer.Meat.Type
16import Ormolu.Printer.Meat.Declaration.Pat
17import Ormolu.Printer.Meat.Declaration.Pat
17import Ormolu.Printer.Meat.Declaration.Signature
18import Ormolu.Printer.Meat.Declaration.Signature
18import Ormolu.Utils
19import Ormolu.Utils
@@ -163,7 +164,12 @@ p_hsExpr = \case
163 located f p_hsExpr
164 located f p_hsExpr
164 breakpoint
165 breakpoint
165 inci (located x p_hsExpr)
166 inci (located x p_hsExpr)
166− HsAppType {} -> notImplemented "HsAppType"
167+ HsAppType a e -> do
172+ located (hswc_body e) p_hsType
167 HsAppTypeOut {} -> notImplemented "HsAppTypeOut"
173 HsAppTypeOut {} -> notImplemented "HsAppTypeOut"
168 OpApp x op _ y -> do
174 OpApp x op _ y -> do
169 located x p_hsExpr
175 located x p_hsExpr
@@ -223,7 +229,10 @@ p_hsExpr = \case
223 HsTcBracketOut {} -> notImplemented "HsTcBracketOut"
229 HsTcBracketOut {} -> notImplemented "HsTcBracketOut"
224 HsSpliceE {} -> notImplemented "HsSpliceE"
230 HsSpliceE {} -> notImplemented "HsSpliceE"
225 HsProc {} -> notImplemented "HsProc"
231 HsProc {} -> notImplemented "HsProc"
226− HsStatic {} -> notImplemented "HsStatic"
232+ HsStatic _ e -> do
235+ inci $ located e p_hsExpr
227 HsArrApp {} -> notImplemented "HsArrApp"
236 HsArrApp {} -> notImplemented "HsArrApp"
228 HsArrForm {} -> notImplemented "HsArrForm"
237 HsArrForm {} -> notImplemented "HsArrForm"
229 HsTick {} -> notImplemented "HsTick"
238 HsTick {} -> notImplemented "HsTick"