git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Fix #388
f1fda9dGary Burgess
docgen/Main.hs+1
@@ -106,6 +106,7 @@ isExported (Just exps) decl = any (matches decl) exps
106 matches (P.TypeSynonymDeclaration ident _ _) (P.TypeRef ident' _) = ident == ident'
106 matches (P.TypeSynonymDeclaration ident _ _) (P.TypeRef ident' _) = ident == ident'
107 matches (P.TypeClassDeclaration ident _ _ _) (P.TypeClassRef ident') = ident == ident'
107 matches (P.TypeClassDeclaration ident _ _ _) (P.TypeClassRef ident') = ident == ident'
108 matches (P.PositionedDeclaration _ d) r = d `matches` r
108 matches (P.PositionedDeclaration _ d) r = d `matches` r
109+ matches d (P.PositionedDeclarationRef _ r) = d `matches` r
109 matches _ _ = False
110 matches _ _ = False
110
111
111isDctorExported :: P.ProperName -> Maybe [P.DeclarationRef] -> P.ProperName -> Bool
112isDctorExported :: P.ProperName -> Maybe [P.DeclarationRef] -> P.ProperName -> Bool