Interface renaming works weirdly in some edge cases
Open
Area-LangService-RenameSymbol
Bug
Impact-Medium
Tracking-External
- Dominant language
- F#
- Stars
- 4.3k
- Forks
- 876
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 144
Description
WTF:
https://github.com/dotnet/fsharp/assets/5451366/779f4ddb-a6a9-4258-8c6e-d0573b1a6f67
WTF!!!!
https://github.com/dotnet/fsharp/assets/5451366/8f5f2d53-9d8e-4c05-a977-ed4cfd19fa98
Code:
```fsharp
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.
Contributor guide
Assessment
This issue has not been assessed yet.