Support rendering | null
syntax for nullable values in tooltips
#2511
Annotations
5 errors
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 49. Expected char: ' ', but got ','.
---------- Expected: ------------------
val testIWSAMTest:
unit
-> Result<string | null,'e> (requires :> IWSAMTest<'e>)
---------- Actual: --------------------
val testIWSAMTest:
unit
-> Result<string,'e> (requires :> IWSAMTest<'e>)
at [email protected](FSharpResult`2 _arg6) in /Users/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 usesNullable:
x: 't | null
-> 't (requires reference)'. String does not match at position 33. Expected char: '\010', but got ' '.
---------- Expected: ------------------
val usesNullable:
x: 't | null
-> 't (requires reference)
---------- Actual: --------------------
val usesNullable:
x: 't | null (requires reference)
-> 'a
at [email protected](FSharpResult`2 _arg6) in /Users/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 usesConcreteNullable:
x: string | null
-> String'. String does not match at position 52. Expected char: 'S', but got '\''.
---------- Expected: ------------------
val usesConcreteNullable:
x: string | null
-> String
---------- Actual: --------------------
val usesConcreteNullable:
x: string | null
-> 'a
at [email protected](FSharpResult`2 _arg6) in /Users/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 usesBCLNullable:
key: string
-> string | null'. String actual was shorter than expected, at pos 50 for expected item ' '.
---------- Expected: ------------------
val usesBCLNullable:
key: string
-> string | null
---------- Actual: --------------------
val usesBCLNullable:
key: string
-> string
at [email protected](FSharpResult`2 _arg6) in /Users/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
Process completed with exit code 1.
|
Loading