Skip to content

No Symbol for setter is created #15212

@nojaf

Description

@nojaf

Please provide a succinct description of the issue.

Repro steps

Type checking:

namespace Telplin

type Foo =
    member _.X
            with get (y: int) : string = ""
            and set (a: int) (b: float) = ()

only produces a Symbol for the first binding in the get/set member.

Expected behaviour

There is a get_X and set_X in the Symbols.

Actual behaviour

Only the first part is captured. If you flip the get / set, you get the other symbol.

Known workarounds

/

Related information

FCS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-Compiler-ServiceVarious compiler service issues which do not belong to other labels/areas.BugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions