fsharp
fsharp copied to clipboard
FSharpCodeLensService crash
This issue has been moved from a ticket on Developer Community.
In VS2022, I have noticed the following error in the "F# Language Service" output window.
[F#] [ERROR 10:05:21 AM] Context: Buffer Changed
Exception Message: The option value was None
Parameter name: option
Stack Trace: at Microsoft.FSharp.Core.OptionModule.GetValue[T](FSharpOption`1 option) in D:\workspace\_work\1\s\src\fsharp\FSharp.Core\option.fs:line 11
at System.Lazy`1.CreateValue()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Lazy`1.get_Value()
at <StartupCode$FSharp-Editor>.$FSharpCodeLensService[Redacted]@[Redacted]Unit _arg15) in D:\workspace\_work\1\s\vsintegration\src\FSharp.Editor\CodeLens\FSharpCodeLensService.fs:line 156
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvokeNoHijackCheck[a,b](AsyncActivation`1 ctxt, b result1, FSharpFunc`2 userCode) in D:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 464
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 105
Original Comments
Feedback Bot on 10/19/2021, 06:53 PM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Original Solutions
(no solutions)