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
Create a new type provider based on FSharp.TypeProviders.Templates template
Build/Test/Pack it
Open the resulting folder in VsCode
Navigating on fs files in Design or Runtime project is fine
Opening LemonadeProvider/tests/LemonadeProvider.Tests/LemonadeProvider.Tests.fs file make typechecking hang
#!/usr/bin/env bashset -e -o pipefail
rm -R LemonadeProvider ||true
dotnet new -i FSharp.TypeProviders.Templates
dotnet new typeprovider -n LemonadeProvider -lang F#
cd LemonadeProvider
# Upgrade project from template## set global.json to 6.0.300
sed -i 's/5.0.400/6.0.300/' global.json
## bump paket to 8.0.3
sed -i 's/6.1.3/8.0.3/' .config/dotnet-tools.json
## set test project to net6.0
sed -i 's/net5/net6/' tests/LemonadeProvider.Tests/LemonadeProvider.Tests.fsproj
## fix NUnit issues from the template in LemonadeProvider.Tests.fs
sed -i '5i open NUnit.Framework.Legacy' tests/LemonadeProvider.Tests/LemonadeProvider.Tests.fs
sed -i 's/Assert/ClassicAssert/g' tests/LemonadeProvider.Tests/LemonadeProvider.Tests.fs
# make sure everything is ok
dotnet tool restore
dotnet paket update
dotnet build -c debug
dotnet test -c debug
dotnet paket pack nuget --version 0.0.1
Details
actual : Ionide/FSAC hangs while typechecking the file
this seems to be quite a lot of spans for this action
Version
v7.20.2
Dotnet Info
.NET SDK (reflecting any global.json):
Version: 6.0.423
Commit: c5c9e53229
Runtime Environment:
OS Name: ubuntu
OS Version: 22.04
OS Platform: Linux
RID: ubuntu.22.04-x64
Base Path: /usr/share/dotnet/sdk/6.0.423/
Host:
Version: 8.0.6
Architecture: x64
Commit: 3b8b000a0e
.NET SDKs installed:
6.0.423 [/usr/share/dotnet/sdk]
7.0.410 [/usr/share/dotnet/sdk]
8.0.301 [/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.31 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.20 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.6 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.31 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.20 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.6 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
DOTNET_ROOT [/usr/share/dotnet]
global.json file:
/home/vince/src/github/mrluje/FSharpTestTypeProvider-script/LemonadeProvider/global.json
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Steps to reproduce
Run the following script that will :
FSharp.TypeProviders.Templates
templateDetails
actual : Ionide/FSAC hangs while typechecking the file
this seems to be quite a lot of spans for this action
expected : Ionide/FSAC shouldn't hang
Logs
Checklist
The text was updated successfully, but these errors were encountered: