Fix cancellation crash in adaptive (#1184) #1923
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
7 errors
FSAC.lsp.Ionide WorkspaceLoader.AdaptiveLspServer.RoslynSourceText.CodeFix-tests.RemoveUnusedOpens.can remove open in nested module:
test/FsAutoComplete.Tests.Lsp/FsAutoComplete.Tests.Lsp.fsproj#L1
No CodeAction returned (`None`). Expected Some _, was None.
at Utils.CursorbasedTests.CodeFix.checkFixAt@46-1.Invoke(FSharpOption`1 res) in D:\a\FsAutoComplete\FsAutoComplete\test\FsAutoComplete.Tests.Lsp\Utils\CursorbasedTests.fs:line 50
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 <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.FsAutoComplete-Lsp-IFSharpLspServer-TextDocumentCodeAction@1447-9.Invoke(AsyncActivation`1 ctxt)
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 148
|
FSAC.lsp.Ionide WorkspaceLoader.AdaptiveLspServer.RoslynSourceText.CodeFix-tests.ReplaceWithSuggestion.can change namespace in open:
test/FsAutoComplete.Tests.Lsp/FsAutoComplete.Tests.Lsp.fsproj#L1
Diagnostic with code 39 should suggest name. There isn't any element which satisfies given assertion <fun:validateDiags@2685-3>.
at FsAutoComplete.Tests.CodeFixTests.Tests.validateDiags@2681-2.Invoke(Diagnostic[] diags) in D:\a\FsAutoComplete\FsAutoComplete\test\FsAutoComplete.Tests.Lsp\CodeFixTests\Tests.fs:line 2683
at Utils.CursorbasedTests.CodeFix.checkFixAt@42.Invoke(Unit unitVar) in D:\a\FsAutoComplete\FsAutoComplete\test\FsAutoComplete.Tests.Lsp\Utils\CursorbasedTests.fs:line 43
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 510
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 148
|
Build on windows-latest for repo global.json
Process completed with exit code 1.
|
FSAC.lsp.Ionide WorkspaceLoader.AdaptiveLspServer.RoslynSourceText.Server.no root path.can get diagnostics.just unused decl analyzer.can get diags for single line:
test/FsAutoComplete.Tests.Lsp/FsAutoComplete.Tests.Lsp.fsproj#L1
. Expected list to have length 2, but length was 1. Seq:
[|{ Range = { Start = { Line = 0
Character = 10 }
End = { Line = 0
Character = 20 } }
Severity = Some Error
Code = Some "39"
CodeDescription =
Some
{ Href =
Some
https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/compiler-messages/fs0039 }
Source = Some "F# Compiler"
Message = "The value or constructor 'notdefined' is not defined."
RelatedInformation = Some [||]
Tags = None
Data = None }|]
at Utils.Tests.Server.tests@86-85.Invoke(Document doc) in /Users/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/Utils/Server.Tests.fs:line 86
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 510
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 148
|
Build on macos-latest for 7.0 preview
Process completed with exit code 1.
|
FSAC.lsp.Ionide WorkspaceLoader.AdaptiveLspServer.RoslynSourceText.CodeFix-tests.ReplaceWithSuggestion.can change namespace in open:
test/FsAutoComplete.Tests.Lsp/FsAutoComplete.Tests.Lsp.fsproj#L1
Diagnostic with code 39 should suggest name. There isn't any element which satisfies given assertion <fun:validateDiags@2685-3>.
at FsAutoComplete.Tests.CodeFixTests.Tests.validateDiags@2681-2.Invoke(Diagnostic[] diags) in /Users/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/CodeFixTests/Tests.fs:line 2683
at Utils.CursorbasedTests.CodeFix.checkFixAt@42.Invoke(Unit unitVar) in /Users/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/Utils/CursorbasedTests.fs:line 43
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 510
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 148
|
Build on macos-latest for repo global.json
Process completed with exit code 1.
|