Skip to content

Commit

Permalink
Don't generate docs for private union cases (closes #222)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustavo Guerra committed Nov 1, 2014
1 parent ade3491 commit f88fa62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/FSharp.MetadataFormat/Main.fs
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,7 @@ module Reader =
let readUnionCases ctx (typ:FSharpEntity) =
typ.UnionCases
|> List.ofSeq
|> List.filter (fun v -> checkAccess ctx v.Accessibility)
|> List.choose (fun case ->
readCommentsInto ctx case.XmlDocSig (fun cat _ comment ->
Member.Create(case.Name, MemberKind.UnionCase, cat, readUnionCase ctx case, comment)))
Expand Down

0 comments on commit f88fa62

Please sign in to comment.