Closed
Description
Autocompletion on fsi fails on certain types with dotnet sdk 3.1.202. This doesn't appear to appear on 3.1.102 however
Repro steps
Provide the steps required to reproduce the problem:
- open
dotnet fsi
in a terminal. - type the following
open System;;
let time = TimeSpan.FromHours(1.0);;
- Now type
time.
and try to autocomplete withTAB
key. And observe the following error:
stdin(0,1): error FS1108: The type 'IAsyncOperationWithProgress`2' is required here and is unavailable. You must add a reference to assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null'.
Expected behavior
Should now throw the FS1108 error and should autocomplete the TimeSpan
object.
Actual behavior
stdin(0,1): error FS1108: The type 'IAsyncOperationWithProgress`2' is required here and is unavailable. You must add a reference to assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null'.
Known workarounds
Use dotnet sdk 3.1.102
Related information
Provide any related information (optional):
Metadata
Metadata
Assignees
Labels
No labels