@@ -7,6 +7,7 @@
7module Ormolu.Printer.Meat.Declaration.Signature
7module Ormolu.Printer.Meat.Declaration.Signature
8 ( p_sigDecl
8 ( p_sigDecl
9 , p_sigDecl'
9 , p_sigDecl'
@@ -34,13 +35,19 @@ p_typeSig
34 :: [Located RdrName] -- ^ Names (before @::@)
35 :: [Located RdrName] -- ^ Names (before @::@)
35 -> LHsSigWcType GhcPs -- ^ Type
36 -> LHsSigWcType GhcPs -- ^ Type
37−p_typeSig names HsWC {..} = do
38+p_typeSig names hswc = do
38 spaceSep p_rdrName names
39 spaceSep p_rdrName names
40+ p_typeAscription hswc
43+ :: LHsSigWcType GhcPs
45+p_typeAscription HsWC {..} = do
39 breakpoint
46 breakpoint
42 located (hsib_body hswc_body) p_hsType
49 located (hsib_body hswc_body) p_hsType
43−p_typeSig _ (XHsWildCardBndrs NoExt) = notImplemented "XHsWildCardBndrs"
50+p_typeAscription (XHsWildCardBndrs NoExt) = notImplemented "XHsWildCardBndrs"
45p_classOpSig
52p_classOpSig
46 :: Bool -- ^ Whether this is a \"default\" signature
53 :: Bool -- ^ Whether this is a \"default\" signature