Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Symbol for setter is created #15212

Closed
nojaf opened this issue May 11, 2023 · 0 comments · Fixed by #15213
Closed

No Symbol for setter is created #15212

nojaf opened this issue May 11, 2023 · 0 comments · Fixed by #15213
Labels
Area-Compiler-Service Various compiler service issues which do not belong to other labels/areas. Bug Impact-Medium (Internal MS Team use only) Describes an issue with moderate impact on existing code.
Milestone

Comments

@nojaf
Copy link
Contributor

nojaf commented May 11, 2023

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

@github-actions github-actions bot added this to the Backlog milestone May 11, 2023
@0101 0101 added Impact-Medium (Internal MS Team use only) Describes an issue with moderate impact on existing code. Area-Compiler-Service Various compiler service issues which do not belong to other labels/areas. and removed Needs-Triage labels May 15, 2023
@github-project-automation github-project-automation bot moved this from Not Planned to Done in F# Compiler and Tooling May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compiler-Service Various compiler service issues which do not belong to other labels/areas. Bug Impact-Medium (Internal MS Team use only) Describes an issue with moderate impact on existing code.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants