ionide / ionide-vscode-fsharp

VS Code plugin for F# development
http://ionide.io
MIT License
859 stars 277 forks source link

minor refactor causes apparent out of memory error #1715

Closed jcmrva closed 2 years ago

jcmrva commented 2 years ago

Describe the bug

I tabbed over a line of code and VS Code froze, then this appeared after a few seconds.

image

Steps to reproduce

let example (asm:System.Reflection.Assembly) =
    asm.GetName().Name
    name.Replace("FSI-ASSEMBLY", "")

Delete or highlight name on the third line and press tab.

Workaround

Moving the line up like this is fine.

    asm.GetName().Name.Replace("FSI-ASSEMBLY", "")

Machine info

Does not occur on SDK 6.0.101 on Ubuntu

jcmrva commented 2 years ago

Whatever the problem was, it doesn't happen in the latest version (6.0.6).