-
Notifications
You must be signed in to change notification settings - Fork 830
Closed
Labels
BugImpact-High(Internal MS Team use only) Describes an issue with extreme impact on existing code.(Internal MS Team use only) Describes an issue with extreme impact on existing code.Ready
Description
While trying to build a project on VS2017 the compiler gives the following error message:
error FS0193: internal error: Exception of type 'Microsoft.FSharp.Compiler.ConstraintSolver+LocallyAbortOperationThatFailsToResolveOverload' was thrown.
Repro steps
- Create an F# Console project
- Add the latest preview release of Freya (4.0.0-alpha-170404) from Nuget
- Add the following code to Program.fs
open Freya.Core
open Freya.Machines.Http
let throwError =
freyaMachine {
handleOk ( fun (acceptable:Acceptable) ->
freya {
return Represent.text "Something"
})
}
Solution: MyFreyaCompilerError.zip
- Attempt to build the project.
Expected behavior
The code should compile as it did in VS2015.
Actual behavior
The code gives an internal compiler error.
Known workarounds
Continue to use VS2015 instead of VS2017.
Related information
- Windows 10 Pro
- .NET Runtime 4.6.1
- Microsoft Visual Studio Community 2017 (Version 15.1 (26403.7) Release)
- Visual F# 4.1 00369-60000-00001-AA410
Metadata
Metadata
Assignees
Labels
BugImpact-High(Internal MS Team use only) Describes an issue with extreme impact on existing code.(Internal MS Team use only) Describes an issue with extreme impact on existing code.Ready