You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using tab-complete in an instance of dotnet fsi, it will kick out an FS1108 error related to the "Windows" assembly if you are tabbing two properties deep. This does not prevent the actual usage of the second property as you can type it out and access it that way just fine.
Screenshots for:
Alpine Linux
Windows 10 Pro
Repro steps
Provide the steps required to reproduce the problem:
Start FSI using dotnet fsi
Find an object with two properties you need to tab into (ie, DateTime.Now.Ticks or CultureInfo.CurrentCulture.Name)
Press tab to tab complete after the first property
Expected behavior
FSI would complete or tab through available options. Such as Ticks or Name.
Actual behavior
In all cases, it will fail with error FS1108, the exact nature of the error seems to vary between my work laptop and my home computer / Alpine Linux box.
Work Laptop Error: stdin(0,1): error FS1108: The type 'IRandomAccessStream' is required here and is unavailable. You must add a reference to assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null
Home PC 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'.
Alpine Linux Error: /root/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
Not tab-completing and just typing out the name of the property works fine.
For Windows: Using the non-core FSI version (fsi.exe).
I searched everywhere to see if this had already been reported. I guess my Google-fu is lacking. Given the issue was fixed in #9644, I'm going ahead and closing this.
When using tab-complete in an instance of
dotnet fsi
, it will kick out an FS1108 error related to the "Windows" assembly if you are tabbing two properties deep. This does not prevent the actual usage of the second property as you can type it out and access it that way just fine.Screenshots for:
Alpine Linux
![Alpine Linux](https://user-images.githubusercontent.com/8130999/97049107-fb60bf80-152f-11eb-8e94-7b3d3b33acc3.png)
Windows 10 Pro
![image](https://user-images.githubusercontent.com/8130999/97049165-129fad00-1530-11eb-9da2-bf007164b90a.png)
Repro steps
Provide the steps required to reproduce the problem:
dotnet fsi
Expected behavior
FSI would complete or tab through available options. Such as
Ticks
orName
.Actual behavior
In all cases, it will fail with error FS1108, the exact nature of the error seems to vary between my work laptop and my home computer / Alpine Linux box.
Work Laptop Error:
stdin(0,1): error FS1108: The type 'IRandomAccessStream' is required here and is unavailable. You must add a reference to assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null
Home PC 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'.
Alpine Linux Error:
/root/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
Related information
Provide any related information (optional):
Home PC:
Work PC:
Alpine Linux Box:
The text was updated successfully, but these errors were encountered: