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
{{ message }}
Repository navigation
UseMutationWhenValueIsMutable code fix crashes at the EOF #15931
System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values.
Parameter name: index
at Microsoft.VisualStudio.Text.Implementation.UnaryStringRebuilder.GetChar(Char[] content,Int32 index)
at <StartupCode$FSharp-Editor>.$UseMutationWhenValueIsMutable.loop@37-8(SourceText sourceText,Char ch,Int32 pos)
at async StartupCode$FSharp-Editor(<Unknown Parameters>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.VisualStudio.FSharp.Editor.CodeFixExtensions.CodeFixContext-RegisterFsharpFix@108(<Unknown Parameters>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.CodeAnalysis.CodeFixes.CodeFixService.GetCodeFixesAsync(<Unknown Parameters>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformFunctionAsync[T](<Unknown Parameters>)
changed the title [-]UseMutationWhenValueIsMutable code fix crashes for anon records[/-][+]UseMutationWhenValueIsMutable code fix crashes at the EOF[/+]on Sep 13, 2023
Activity
psfinaki commentedon Sep 13, 2023
Okay so it's not because of anon records, it's because of the end of file there.
[-]UseMutationWhenValueIsMutable code fix crashes for anon records[/-][+]UseMutationWhenValueIsMutable code fix crashes at the EOF[/+]