git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Merge pull request #389 from garyb/docgen-exports

Fix #388

commita125a185f5308d5db725b93fa891fcf2c1f8bfed authorPhil Freeman <paf31@cantab.net> dateFri 25 Apr 2014, 15:46 (13 years ago) parent34bfe55f1fda9d
1 file changed+1
docgen/Main.hs+1
docgen/Main.hs+1
@@ -106,6 +106,7 @@ isExported (Just exps) decl = any (matches decl) exps
106106 matches (P.TypeSynonymDeclaration ident _ _) (P.TypeRef ident' _) = ident == ident'
107107 matches (P.TypeClassDeclaration ident _ _ _) (P.TypeClassRef ident') = ident == ident'
108108 matches (P.PositionedDeclaration _ d) r = d `matches` r
109+ matches d (P.PositionedDeclarationRef _ r) = d `matches` r
109110 matches _ _ = False
110111
111112isDctorExported :: P.ProperName -> Maybe [P.DeclarationRef] -> P.ProperName -> Bool