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
I you have an erased type provider that generates a call to a method of an F# type, then try to get the expression from a checked project which uses this, there is an error "A call to '...' could not be resolved.
This is thrown by Microsoft.FSharp.Compiler.SourceCodeServices.FSharpExprConvert.ConvExprPrim. It seems that coming from the TP, the call is represented as a Tast.Expr.Op(TOp.ILCall ...) but the type containing the method has F# metadata, so it will not represented by a TILObjModelRepr case when imported.
I you have an erased type provider that generates a call to a method of an F# type, then try to get the expression from a checked project which uses this, there is an error
"A call to '...' could not be resolved
.This is thrown by
Microsoft.FSharp.Compiler.SourceCodeServices.FSharpExprConvert.ConvExprPrim
. It seems that coming from the TP, the call is represented as aTast.Expr.Op(TOp.ILCall ...)
but the type containing the method has F# metadata, so it will not represented by aTILObjModelRepr
case when imported.I have a minimal test project at https://github.com/Jand42/FCS-TP-error
Failing using
FSharp.Compiler.Service 1.4.2.1
andFSharp.TypeProviders.StarterPack 1.1.3.76
The text was updated successfully, but these errors were encountered: