Skip to content

Broken behavior of the RemoveUnusedBinding code fix #15411

Description

@psfinaki

Code:

type DU =
    | X
    | Y

    member t.A = 42

The respective code fix does something weird:

bug.mp4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-LangService-CodeFixesCode fixes associated with diagnosticsBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.good first issue

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions