Skip to content

Rename is bogus on generic parameters #5389

Description

@asik
type Generic<'t> = {
    T : 't
}

After invoking rename (Ctrl+R,R) on t or 't and entering a or 'a respectively, the result is invalid code:

type Generic<``'a``> = {
    T : ``'a``
}

The expected result is

type Generic<'a> = {
    T : 'a
}

Visual Studio 15.7.5

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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions