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
Looking up reflected definition of overloaded extension methods fail at runtime.
This program is currently throwing a System.Reflection.AmbiguousMatchException:
typeSystem.Objectwith[<ReflectedDefinition>]memberthis.Add(x)= x
[<ReflectedDefinition>]memberthis.Add(x,y)= x + y
openFSharp.Quotations[<EntryPoint>]letmain argv =match<@ obj().Add(2)@>with|(Patterns.Call(_, m,_))->
m |> Expr.TryGetReflectedDefinition |> printfn "%A"|_->()0
The text was updated successfully, but these errors were encountered:
Looking up reflected definition of overloaded extension methods fail at runtime.
This program is currently throwing a
System.Reflection.AmbiguousMatchException
:The text was updated successfully, but these errors were encountered: