Skip to content

Interface renaming works weirdly in some edge cases #15399

@psfinaki

Description

@psfinaki

WTF:

bug1.mp4

WTF!!!!

bug2.mp4

Code:

type IFoo = abstract member Bar : unit -> unit

type Foo() = interface IFoo with member __.Bar () = ()

let foo = Foo() :> IFoo

One of the weirdest things I have seen in VS. Reproduces only on the last case. VS crash is caused when I try to move the cursor in the renaming window using the mouse.

Metadata

Metadata

Assignees

Labels

Area-LangService-RenameSymbolFCS and VS support for renaming symbolsBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.Tracking-External

Type

Projects

Status

New

Relationships

None yet

Development

No branches or pull requests

Issue actions