Add type annotations to entire function #1723
Annotations
3 errors
test/FsAutoComplete.Tests.Lsp/FsAutoComplete.Tests.Lsp.fsproj#L1
Incorrect text after applying the chosen code action. String does not match at position 6. Expected char: '$', but got ' '.
---------- Expected: ------------------
let f2$0 (a: int) : int -> int =
()
fun b -> a + b
---------- Actual: --------------------
let f2 (a: int) : int -> int =
()
fun b -> a + b
at Utils.CursorbasedTests.CodeFix.checkFixAt@97-3.Invoke(Unit unitVar) in D:\a\FsAutoComplete\FsAutoComplete\test\FsAutoComplete.Tests.Lsp\Utils\CursorbasedTests.fs:line 109
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 <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.FsAutoComplete-Lsp-IFSharpLspServer-TextDocumentCodeAction@3244-27.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
|
test/FsAutoComplete.Tests.Lsp/FsAutoComplete.Tests.Lsp.fsproj#L1
Incorrect text after applying the chosen code action. String does not match at position 6. Expected char: '$', but got ' '.
---------- Expected: ------------------
let f2$0 (a: int) : int -> int =
()
fun b -> a + b
---------- Actual: --------------------
let f2 (a: int) : int -> int =
()
fun b -> a + b
at Utils.CursorbasedTests.CodeFix.checkFixAt@97-3.Invoke(Unit unitVar) in D:\a\FsAutoComplete\FsAutoComplete\test\FsAutoComplete.Tests.Lsp\Utils\CursorbasedTests.fs:line 109
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 <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.FsAutoComplete-Lsp-IFSharpLspServer-TextDocumentCodeAction@3244-27.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
|
|
The logs for this run have expired and are no longer available.
Loading