@@ -13,6 +13,7 @@ import Data.List (sortOn)
1313import GHC
1414import Ormolu.Printer.Combinators
1515import Ormolu.Printer.Meat.Common
16+import Ormolu.Printer.Meat.Type
1617import Ormolu.Printer.Meat.Declaration.Pat
1718import Ormolu.Printer.Meat.Declaration.Signature
1819import Ormolu.Utils
@@ -163,7 +164,12 @@ p_hsExpr = \case
163164 located f p_hsExpr
164165 breakpoint
165166 inci (located x p_hsExpr)
166− HsAppType {} -> notImplemented "HsAppType"
167+ HsAppType a e -> do
168+ located a p_hsExpr
169+ breakpoint
170+ inci $ do
171+ txt "@"
172+ located (hswc_body e) p_hsType
167173 HsAppTypeOut {} -> notImplemented "HsAppTypeOut"
168174 OpApp x op _ y -> do
169175 located x p_hsExpr
@@ -223,7 +229,10 @@ p_hsExpr = \case
223229 HsTcBracketOut {} -> notImplemented "HsTcBracketOut"
224230 HsSpliceE {} -> notImplemented "HsSpliceE"
225231 HsProc {} -> notImplemented "HsProc"
226− HsStatic {} -> notImplemented "HsStatic"
232+ HsStatic _ e -> do
233+ txt "static"
234+ breakpoint
235+ inci $ located e p_hsExpr
227236 HsArrApp {} -> notImplemented "HsArrApp"
228237 HsArrForm {} -> notImplemented "HsArrForm"
229238 HsTick {} -> notImplemented "HsTick"