Skip to content

Tooltips: two tooltips are produced for auto property with accessors clause #15584

@auduchinok

Description

@auduchinok

There's a recent regression in the tooltips. Consider this code:

/// Some comment on class
type Bar() =
    /// Some comment on class member
    member val Foo = "bla" with get, set

After updating FCS to main, GetToolTip produces a second tooltip:

Screenshot 2023-07-11 at 18 01 30

Removing the , set fixes it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions