Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

F# interactive regression on autocomplete suggestion #9206

Closed
Swoorup opened this issue May 16, 2020 · 0 comments · Fixed by #9644
Closed

F# interactive regression on autocomplete suggestion #9206

Swoorup opened this issue May 16, 2020 · 0 comments · Fixed by #9644
Assignees

Comments

@Swoorup
Copy link
Contributor

Swoorup commented May 16, 2020

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:

  1. open dotnet fsi in a terminal.
  2. type the following
open System;;
let time = TimeSpan.FromHours(1.0);;
  1. Now type time. and try to autocomplete with TAB 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):

  • Operating system: Windows, Linux
  • .NET Runtime kind: .NET Core
  • Editing Tools: Terminal, (I got the bug in Jetbrains Rider as well, working with fsx files )
    image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants