Support rendering | null
syntax for nullable values in tooltips
#2513
Annotations
10 errors
Run and report tests
Should have a signature of 'val speed: float<m/s>'. String actual was longer than expected, at pos 21 found item ' '.
---------- Expected: ------------------
val speed: float<m/s>
---------- Actual: --------------------
val speed: float<m/s> | null
at [email protected](FSharpResult`2 _arg6) in /home/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/CoreTests.fs:line 388
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$FSharp-Core>[email protected](Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1468
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
--- End of stack trace from previous location ---
|
Run and report tests
Should have a signature of 'val funcWithTupleParam:
int *
int
-> int * int'. String does not match at position 56. Expected char: '*', but got '|'.
---------- Expected: ------------------
val funcWithTupleParam:
int *
int
-> int * int
---------- Actual: --------------------
val funcWithTupleParam:
int *
int
-> int | null * int | null
at [email protected](FSharpResult`2 _arg6) in /home/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/CoreTests.fs:line 388
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$FSharp-Core>[email protected](Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1468
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
--- End of stack trace from previous location ---
|
Run and report tests
Should have a signature of 'member Foo:
stuff: int * int * int
-> int'. String actual was longer than expected, at pos 51 found item ' '.
---------- Expected: ------------------
member Foo:
stuff: int * int * int
-> int
---------- Actual: --------------------
member Foo:
stuff: int * int * int
-> int | null
at [email protected](FSharpResult`2 _arg6) in /home/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/CoreTests.fs:line 388
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$FSharp-Core>[email protected](Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1468
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
--- End of stack trace from previous location ---
|
Run and report tests
Should have a signature of 'member Bar:
a: int *
b: int *
c: int
-> int'. String does not match at position 22. Expected char: '*', but got '|'.
---------- Expected: ------------------
member Bar:
a: int *
b: int *
c: int
-> int
---------- Actual: --------------------
member Bar:
a: int | null *
b: int | null *
c: int | null
-> int | null
at [email protected](FSharpResult`2 _arg6) in /home/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/CoreTests.fs:line 388
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$FSharp-Core>[email protected](Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1468
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
--- End of stack trace from previous location ---
|
Run and report tests
Should have a signature of 'val ( .>> ):
x: int ->
y: int
-> int'. String does not match at position 23. Expected char: '-', but got '|'.
---------- Expected: ------------------
val ( .>> ):
x: int ->
y: int
-> int
---------- Actual: --------------------
val ( .>> ):
x: int | null ->
y: int | null
-> int | null
at [email protected](FSharpResult`2 _arg6) in /home/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/CoreTests.fs:line 388
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$FSharp-Core>[email protected](Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1468
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
--- End of stack trace from previous location ---
|
Run and report tests
Should have a signature of 'val ( ^ ):
x: int ->
y: int
-> int'. String does not match at position 21. Expected char: '-', but got '|'.
---------- Expected: ------------------
val ( ^ ):
x: int ->
y: int
-> int
---------- Actual: --------------------
val ( ^ ):
x: int | null ->
y: int | null
-> int | null
at [email protected](FSharpResult`2 _arg6) in /home/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/CoreTests.fs:line 388
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$FSharp-Core>[email protected](Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1468
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
--- End of stack trace from previous location ---
|
Run and report tests
Should have a signature of 'static member Start:
body : (MailboxProcessor<string> -> Async<unit>) *
?cancellationToken: System.Threading.CancellationToken
-> MailboxProcessor<string>'. String does not match at position 84. Expected char: ')', but got ' '.
---------- Expected: ------------------
static member Start:
body : (MailboxProcessor<string> -> Async<unit>) *
?cancellationToken: System.Threading.CancellationToken
-> MailboxProcessor<string>
---------- Actual: --------------------
static member Start:
body : (MailboxProcessor<string> -> Async<unit> | null) *
?cancellationToken: System.Threading.CancellationToken> | nul
-> MailboxProcessor<string | null> | null
at [email protected](FSharpResult`2 _arg6) in /home/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/CoreTests.fs:line 388
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$FSharp-Core>[email protected](Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1468
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
--- End of stack trace from previous location ---
|
Run and report tests
Should have a signature of 'active pattern Value:
input: Expr
-> option<obj * System.Type>'. String does not match at position 37. Expected char: '\010', but got ' '.
---------- Expected: ------------------
active pattern Value:
input: Expr
-> option<obj * System.Type>
---------- Actual: --------------------
active pattern Value:
input: Expr | null
-> option<obj * System.Type> | null
at [email protected](FSharpResult`2 _arg6) in /home/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/CoreTests.fs:line 388
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$FSharp-Core>[email protected](Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1468
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
--- End of stack trace from previous location ---
|
Run and report tests
Should have a signature of 'val testIWSAMTest:
unit
-> Result<string | null,'e> (requires :> IWSAMTest<'e>)'. String does not match at position 61. Expected char: '(', but got '|'.
---------- Expected: ------------------
val testIWSAMTest:
unit
-> Result<string | null,'e> (requires :> IWSAMTest<'e>)
---------- Actual: --------------------
val testIWSAMTest:
unit
-> Result<string | null,'e> | null (requires :> IWSAMTest<'e>)
at [email protected](FSharpResult`2 _arg6) in /home/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/CoreTests.fs:line 388
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$FSharp-Core>[email protected](Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1468
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
--- End of stack trace from previous location ---
|
Run and report tests
Should have a signature of 'active pattern DefaultValue:
input: Expr
-> option<System.Type>'. String does not match at position 44. Expected char: '\010', but got ' '.
---------- Expected: ------------------
active pattern DefaultValue:
input: Expr
-> option<System.Type>
---------- Actual: --------------------
active pattern DefaultValue:
input: Expr | null
-> option<System.Type> | null
at [email protected](FSharpResult`2 _arg6) in /home/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/CoreTests.fs:line 388
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$FSharp-Core>[email protected](Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1468
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
--- End of stack trace from previous location ---
|
Loading