-
Notifications
You must be signed in to change notification settings - Fork 847
Description
This seems to be a regression in the latest release of FSharp.Compiler.Tools (4.1.1).
After upgrading to latest FSharp.NET.Sdk (1.0.2 which has a dependency of FSharp.Compiler.Tools 4.1.1), when I build Fable and use it on a big project I get a StackOverflow exception. Unfortunately, because I cannot catch the exception I don't know exactly where it occurs but I have added logs to all my recursive functions and no one is repeating itself too much. The problem doesn't occur if I downgrade to FSharp.NET.Sdk 1.0.1 (which depends on FSharp.Compiler.Tools 4.1.10).
Repro steps
-
Clone Fable
narumibranch using this commit and build the project with the FAKE build script. -
Start the Fable server by typing
dotnet build/fable/dotnet-fable.dll starton the repo root. -
In a new shell, go to the
src/dotnet/Fable.Client.Browser/demofolder and typenpm run build. -
After some seconds a StackOverflow exception will crash the Fable server process. If you use this commit instead (which just downgrades FSharp.NET.Sdk) and repeat steps 1, 2 and 3, the crash won't happen.
Related information
- Windows
- FSharp.Compiler.Tools 4.1.1
- dotnet SDK 1.0.1
- Indications of severity: Serious