You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ionide cannot handle the scenario of New Text File -> Select a language -> F#.
Steps to reproduce
File tab -> New Text File -> Select a language -> F#
This error in output view -> F#
[02:15:44.548 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] checkUnusedOpens failed
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FSharp.Compiler.EditorServices.UnusedOpens.filterSymbolUses@118.Invoke(FSharpSymbolUse su) in D:\a\_work\1\s\src\Compiler\Service\ServiceAnalysis.fs:line 148
at Microsoft.FSharp.Collections.Internal.IEnumerator.next@277[T](FSharpFunc`2 f, IEnumerator`1 e, FSharpRef`1 started, Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\seq.fs:line 281
at Microsoft.FSharp.Collections.Internal.IEnumerator.filter@267.System.Collections.IEnumerator.MoveNext() in D:\a\_work\1\s\src\FSharp.Core\seq.fs:line 283
at Microsoft.FSharp.Collections.SeqModule.ToArray[T](IEnumerable`1 source) in D:\a\_work\1\s\src\FSharp.Core\seq.fs:line 1037
at Microsoft.FSharp.Collections.ArrayModule.OfSeq[T](IEnumerable`1 source) in D:\a\_work\1\s\src\FSharp.Core\array.fs:line 1543
at FSharp.Compiler.EditorServices.UnusedOpens.getUnusedOpens@299-1.Invoke(CancellationToken ct) in D:\a\_work\1\s\src\Compiler\Service\ServiceAnalysis.fs:line 300
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvokeNoHijackCheck[a,b](AsyncActivation`1 ctxt, b result1, FSharpFunc`2 userCode) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 528
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 148
Write let x = 1
Observe no autocompletion services
Observe these errors in output view -> F#
[Error - 2:17:37 AM] Request textDocument/completion failed.
Message: No line in c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx at position (1,1)
Code: -32603
[02:17:37.794 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 0, "$type": "Position"}, "End": {"Line": 0, "Character": 0, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": "l", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 2 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 0, "$type": "Pos"}, "End": {"Line": 1, "Column": 0, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
[02:17:37.858 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] checkUnusedOpens failed
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FSharp.Compiler.EditorServices.UnusedOpens.filterSymbolUses@118.Invoke(FSharpSymbolUse su) in D:\a\_work\1\s\src\Compiler\Service\ServiceAnalysis.fs:line 148
at Microsoft.FSharp.Collections.Internal.IEnumerator.next@277[T](FSharpFunc`2 f, IEnumerator`1 e, FSharpRef`1 started, Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\seq.fs:line 281
at Microsoft.FSharp.Collections.Internal.IEnumerator.filter@267.System.Collections.IEnumerator.MoveNext() in D:\a\_work\1\s\src\FSharp.Core\seq.fs:line 283
at Microsoft.FSharp.Collections.SeqModule.ToArray[T](IEnumerable`1 source) in D:\a\_work\1\s\src\FSharp.Core\seq.fs:line 1037
at Microsoft.FSharp.Collections.ArrayModule.OfSeq[T](IEnumerable`1 source) in D:\a\_work\1\s\src\FSharp.Core\array.fs:line 1543
at FSharp.Compiler.EditorServices.UnusedOpens.getUnusedOpens@299-1.Invoke(CancellationToken ct) in D:\a\_work\1\s\src\Compiler\Service\ServiceAnalysis.fs:line 300
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvokeNoHijackCheck[a,b](AsyncActivation`1 ctxt, b result1, FSharpFunc`2 userCode) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 528
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 148
[02:17:37.904 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 0, "$type": "Position"}, "End": {"Line": 0, "Character": 0, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": "l", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 2 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 0, "$type": "Pos"}, "End": {"Line": 1, "Column": 0, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
[02:17:37.905 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 1, "$type": "Position"}, "End": {"Line": 0, "Character": 1, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": "e", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 3 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 1, "$type": "Pos"}, "End": {"Line": 1, "Column": 1, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
[02:17:37.961 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] checkUnusedOpens failed
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FSharp.Compiler.EditorServices.UnusedOpens.filterSymbolUses@118.Invoke(FSharpSymbolUse su) in D:\a\_work\1\s\src\Compiler\Service\ServiceAnalysis.fs:line 148
at Microsoft.FSharp.Collections.Internal.IEnumerator.next@277[T](FSharpFunc`2 f, IEnumerator`1 e, FSharpRef`1 started, Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\seq.fs:line 281
at Microsoft.FSharp.Collections.Internal.IEnumerator.filter@267.System.Collections.IEnumerator.MoveNext() in D:\a\_work\1\s\src\FSharp.Core\seq.fs:line 283
at Microsoft.FSharp.Collections.SeqModule.ToArray[T](IEnumerable`1 source) in D:\a\_work\1\s\src\FSharp.Core\seq.fs:line 1037
at Microsoft.FSharp.Collections.ArrayModule.OfSeq[T](IEnumerable`1 source) in D:\a\_work\1\s\src\FSharp.Core\array.fs:line 1543
at FSharp.Compiler.EditorServices.UnusedOpens.getUnusedOpens@299-1.Invoke(CancellationToken ct) in D:\a\_work\1\s\src\Compiler\Service\ServiceAnalysis.fs:line 300
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvokeNoHijackCheck[a,b](AsyncActivation`1 ctxt, b result1, FSharpFunc`2 userCode) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 528
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 148
[02:17:38.005 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 0, "$type": "Position"}, "End": {"Line": 0, "Character": 0, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": "l", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 2 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 0, "$type": "Pos"}, "End": {"Line": 1, "Column": 0, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
[02:17:38.005 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 1, "$type": "Position"}, "End": {"Line": 0, "Character": 1, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": "e", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 3 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 1, "$type": "Pos"}, "End": {"Line": 1, "Column": 1, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
[02:17:38.005 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 2, "$type": "Position"}, "End": {"Line": 0, "Character": 2, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": "t", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 4 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 2, "$type": "Pos"}, "End": {"Line": 1, "Column": 2, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
[02:17:38.054 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] checkUnusedOpens failed
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FSharp.Compiler.EditorServices.UnusedOpens.filterSymbolUses@118.Invoke(FSharpSymbolUse su) in D:\a\_work\1\s\src\Compiler\Service\ServiceAnalysis.fs:line 148
at Microsoft.FSharp.Collections.Internal.IEnumerator.next@277[T](FSharpFunc`2 f, IEnumerator`1 e, FSharpRef`1 started, Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\seq.fs:line 281
at Microsoft.FSharp.Collections.Internal.IEnumerator.filter@267.System.Collections.IEnumerator.MoveNext() in D:\a\_work\1\s\src\FSharp.Core\seq.fs:line 283
at Microsoft.FSharp.Collections.SeqModule.ToArray[T](IEnumerable`1 source) in D:\a\_work\1\s\src\FSharp.Core\seq.fs:line 1037
at Microsoft.FSharp.Collections.ArrayModule.OfSeq[T](IEnumerable`1 source) in D:\a\_work\1\s\src\FSharp.Core\array.fs:line 1543
at FSharp.Compiler.EditorServices.UnusedOpens.getUnusedOpens@299-1.Invoke(CancellationToken ct) in D:\a\_work\1\s\src\Compiler\Service\ServiceAnalysis.fs:line 300
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvokeNoHijackCheck[a,b](AsyncActivation`1 ctxt, b result1, FSharpFunc`2 userCode) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 528
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 148
[02:17:38.101 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 0, "$type": "Position"}, "End": {"Line": 0, "Character": 0, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": "l", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 2 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 0, "$type": "Pos"}, "End": {"Line": 1, "Column": 0, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
[02:17:38.102 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 1, "$type": "Position"}, "End": {"Line": 0, "Character": 1, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": "e", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 3 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 1, "$type": "Pos"}, "End": {"Line": 1, "Column": 1, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
[02:17:38.103 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 2, "$type": "Position"}, "End": {"Line": 0, "Character": 2, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": "t", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 4 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 2, "$type": "Pos"}, "End": {"Line": 1, "Column": 2, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
[02:17:38.104 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 3, "$type": "Position"}, "End": {"Line": 0, "Character": 3, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": " ", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 5 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 3, "$type": "Pos"}, "End": {"Line": 1, "Column": 3, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
[02:17:38.147 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] checkUnusedOpens failed
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FSharp.Compiler.EditorServices.UnusedOpens.filterSymbolUses@118.Invoke(FSharpSymbolUse su) in D:\a\_work\1\s\src\Compiler\Service\ServiceAnalysis.fs:line 148
at Microsoft.FSharp.Collections.Internal.IEnumerator.next@277[T](FSharpFunc`2 f, IEnumerator`1 e, FSharpRef`1 started, Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\seq.fs:line 281
at Microsoft.FSharp.Collections.Internal.IEnumerator.filter@267.System.Collections.IEnumerator.MoveNext() in D:\a\_work\1\s\src\FSharp.Core\seq.fs:line 283
at Microsoft.FSharp.Collections.SeqModule.ToArray[T](IEnumerable`1 source) in D:\a\_work\1\s\src\FSharp.Core\seq.fs:line 1037
at Microsoft.FSharp.Collections.ArrayModule.OfSeq[T](IEnumerable`1 source) in D:\a\_work\1\s\src\FSharp.Core\array.fs:line 1543
at FSharp.Compiler.EditorServices.UnusedOpens.getUnusedOpens@299-1.Invoke(CancellationToken ct) in D:\a\_work\1\s\src\Compiler\Service\ServiceAnalysis.fs:line 300
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvokeNoHijackCheck[a,b](AsyncActivation`1 ctxt, b result1, FSharpFunc`2 userCode) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 528
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 148
[Error - 2:17:38 AM] Request textDocument/signatureHelp failed.
Message: Couldn't find previous non-whitespace char
Code: -32603
[02:17:38.293 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 0, "$type": "Position"}, "End": {"Line": 0, "Character": 0, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": "l", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 2 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 0, "$type": "Pos"}, "End": {"Line": 1, "Column": 0, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
[02:17:38.294 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 1, "$type": "Position"}, "End": {"Line": 0, "Character": 1, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": "e", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 3 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 1, "$type": "Pos"}, "End": {"Line": 1, "Column": 1, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
[02:17:38.294 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 2, "$type": "Position"}, "End": {"Line": 0, "Character": 2, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": "t", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 4 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 2, "$type": "Pos"}, "End": {"Line": 1, "Column": 2, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
[02:17:38.295 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 3, "$type": "Position"}, "End": {"Line": 0, "Character": 3, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": " ", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 5 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 3, "$type": "Pos"}, "End": {"Line": 1, "Column": 3, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
[02:17:38.295 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 4, "$type": "Position"}, "End": {"Line": 0, "Character": 4, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": "x", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 6 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 4, "$type": "Pos"}, "End": {"Line": 1, "Column": 4, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
[Error - 2:17:38 AM] Request textDocument/completion failed.
Message: No line in c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx at position (1,5)
Code: -32603
[02:17:38.344 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] checkUnusedOpens failed
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FSharp.Compiler.EditorServices.UnusedOpens.filterSymbolUses@118.Invoke(FSharpSymbolUse su) in D:\a\_work\1\s\src\Compiler\Service\ServiceAnalysis.fs:line 148
at Microsoft.FSharp.Collections.Internal.IEnumerator.next@277[T](FSharpFunc`2 f, IEnumerator`1 e, FSharpRef`1 started, Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\seq.fs:line 281
at Microsoft.FSharp.Collections.Internal.IEnumerator.filter@267.System.Collections.IEnumerator.MoveNext() in D:\a\_work\1\s\src\FSharp.Core\seq.fs:line 283
at Microsoft.FSharp.Collections.SeqModule.ToArray[T](IEnumerable`1 source) in D:\a\_work\1\s\src\FSharp.Core\seq.fs:line 1037
at Microsoft.FSharp.Collections.ArrayModule.OfSeq[T](IEnumerable`1 source) in D:\a\_work\1\s\src\FSharp.Core\array.fs:line 1543
at FSharp.Compiler.EditorServices.UnusedOpens.getUnusedOpens@299-1.Invoke(CancellationToken ct) in D:\a\_work\1\s\src\Compiler\Service\ServiceAnalysis.fs:line 300
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvokeNoHijackCheck[a,b](AsyncActivation`1 ctxt, b result1, FSharpFunc`2 userCode) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 528
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 148
[02:17:38.438 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 0, "$type": "Position"}, "End": {"Line": 0, "Character": 0, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": "l", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 2 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 0, "$type": "Pos"}, "End": {"Line": 1, "Column": 0, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
[02:17:38.438 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 1, "$type": "Position"}, "End": {"Line": 0, "Character": 1, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": "e", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 3 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 1, "$type": "Pos"}, "End": {"Line": 1, "Column": 1, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
[02:17:38.438 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 2, "$type": "Position"}, "End": {"Line": 0, "Character": 2, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": "t", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 4 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 2, "$type": "Pos"}, "End": {"Line": 1, "Column": 2, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
[02:17:38.439 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 3, "$type": "Position"}, "End": {"Line": 0, "Character": 3, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": " ", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 5 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 3, "$type": "Pos"}, "End": {"Line": 1, "Column": 3, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
[02:17:38.439 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 4, "$type": "Position"}, "End": {"Line": 0, "Character": 4, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": "x", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 6 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 4, "$type": "Pos"}, "End": {"Line": 1, "Column": 4, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
[02:17:38.440 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 5, "$type": "Position"}, "End": {"Line": 0, "Character": 5, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": " ", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 7 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 5, "$type": "Pos"}, "End": {"Line": 1, "Column": 5, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
[02:17:38.483 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] checkUnusedOpens failed
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FSharp.Compiler.EditorServices.UnusedOpens.filterSymbolUses@118.Invoke(FSharpSymbolUse su) in D:\a\_work\1\s\src\Compiler\Service\ServiceAnalysis.fs:line 148
at Microsoft.FSharp.Collections.Internal.IEnumerator.next@277[T](FSharpFunc`2 f, IEnumerator`1 e, FSharpRef`1 started, Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\seq.fs:line 281
at Microsoft.FSharp.Collections.Internal.IEnumerator.filter@267.System.Collections.IEnumerator.MoveNext() in D:\a\_work\1\s\src\FSharp.Core\seq.fs:line 283
at Microsoft.FSharp.Collections.SeqModule.ToArray[T](IEnumerable`1 source) in D:\a\_work\1\s\src\FSharp.Core\seq.fs:line 1037
at Microsoft.FSharp.Collections.ArrayModule.OfSeq[T](IEnumerable`1 source) in D:\a\_work\1\s\src\FSharp.Core\array.fs:line 1543
at FSharp.Compiler.EditorServices.UnusedOpens.getUnusedOpens@299-1.Invoke(CancellationToken ct) in D:\a\_work\1\s\src\Compiler\Service\ServiceAnalysis.fs:line 300
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvokeNoHijackCheck[a,b](AsyncActivation`1 ctxt, b result1, FSharpFunc`2 userCode) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 528
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 148
[Error - 2:17:38 AM] Request textDocument/signatureHelp failed.
Message: Couldn't find previous non-whitespace char
Code: -32603
[02:17:38.584 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 0, "$type": "Position"}, "End": {"Line": 0, "Character": 0, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": "l", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 2 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 0, "$type": "Pos"}, "End": {"Line": 1, "Column": 0, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
[02:17:38.585 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 1, "$type": "Position"}, "End": {"Line": 0, "Character": 1, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": "e", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 3 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 1, "$type": "Pos"}, "End": {"Line": 1, "Column": 1, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
[02:17:38.585 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 2, "$type": "Position"}, "End": {"Line": 0, "Character": 2, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": "t", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 4 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 2, "$type": "Pos"}, "End": {"Line": 1, "Column": 2, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
[02:17:38.585 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 3, "$type": "Position"}, "End": {"Line": 0, "Character": 3, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": " ", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 5 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 3, "$type": "Pos"}, "End": {"Line": 1, "Column": 3, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
[02:17:38.585 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 4, "$type": "Position"}, "End": {"Line": 0, "Character": 4, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": "x", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 6 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 4, "$type": "Pos"}, "End": {"Line": 1, "Column": 4, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
[02:17:38.586 ERR] [FsAutoComplete.Lsp.AdaptiveFSharpLspServer] Error applying {"Range": {"Value": {"Start": {"Line": 0, "Character": 5, "$type": "Position"}, "End": {"Line": 0, "Character": 5, "$type": "Position"}, "$type": "Range"}, "$type": "Some"}, "RangeLength": {"Value": 0, "$type": "Some"}, "Text": " ", "$type": "TextDocumentContentChangeEvent"} to document c:\Users\hadri\AppData\Local\Programs\Microsoft VS Code\Untitled-2.fsx for version 7 - {"File": "c:\\Users\\hadri\\AppData\\Local\\Programs\\Microsoft VS Code\\Untitled-2.fsx", "Start": {"Line": 1, "Column": 5, "$type": "Pos"}, "End": {"Line": 1, "Column": 5, "$type": "Pos"}, "$type": "Rng"}
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FsAutoComplete.NamedText.FSharp.Compiler.Text.ISourceText.GetLineString(Int32 lineIndex) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 411
at FsAutoComplete.NamedText.GetText(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 220
at FsAutoComplete.NamedText.get_Item(Range m) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 359
at FsAutoComplete.NamedText.ModifyText(Range m, String text) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 351
at FsAutoComplete.NamedText.FsAutoComplete.IFSACSourceText.ModifyText(Range r, String t) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete.Core/FileSystem.fs:line 458
at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.file@926.Invoke(VolatileFile text, Tuple`3 tupledArg) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 932
Close Visual Studio Code
Reopen Visual Studio Code
Autocompletion loads successfully
Link to sample reproduction
N/A
Expected behaviour
Autocompletion works without having to close and reopen Visual Studio Code.
Screenshots
after reopen
Machine info
OS: Windows
.NET SDK version: 7.0.302
Ionide version: 7.8.5
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
Ionide cannot handle the scenario of New Text File -> Select a language -> F#.
Steps to reproduce
let x = 1
Observe these errors in output view -> F#
Link to sample reproduction
N/A
Expected behaviour
Autocompletion works without having to close and reopen Visual Studio Code.
Screenshots
after reopen
Machine info
Additional context
N/A
The text was updated successfully, but these errors were encountered: