Skip to content

Wrong XmlDoc for union case when previous case contains no bar #11488

@auduchinok

Description

@auduchinok

Xml doc has wrong reported range (which may affect tooling) and a comment from previous case without bar is shown in the wrong case:

type U =
    /// Aa
    A
    /// Bb
    | B

Screenshot 2021-04-27 at 16 38 20

With bar it works as expected:

type U =
    /// Aa
    | A
    /// Bb
    | B

Screenshot 2021-04-27 at 16 39 57

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-XmlDocsxmldoc generation, xmldoc contentBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.

    Type

    Projects

    Status

    New

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions