-
Notifications
You must be signed in to change notification settings - Fork 842
Description
F# compiler becomes abnormally slow when it compiles a code based on generic overloads. Libraries that are based on this feature of the language are victimized by this bug. e.g. FsControl, FSharpPlus.
Example code to reproduce the bug: https://gist.github.com/gmpl/5c2fae2d6e6a115d729e
In addition to that F# Intellisense stops working normally, VS consumes CPU and memory uncontrollably, VS hangs and stops responding when requested to quit.
Example code to reproduce the bug:
https://github.com/gmpl/FSharpPlus/blob/master/FSharpPlus/Samples/Learn%20You%20a%20Haskell.fsx
Used environment: VS 2013 Update 4, F# 3.1, .NET 4.5, Win 8.1 x64