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
All variadic function invocation currently happens through IFn, which will drop the types of any hinted required arguments. Ideally our generic Magic.Function interfaces would support the variadtic case as well as the fixed arity cases. The contents of & rest will almost certainly always be Object, though.
The text was updated successfully, but these errors were encountered:
Also changed the name of the invoke method exposed by the
Magic.Function interfaces from invoke to invokeTyped to avoid ambiguous
method matches in some cases. Variadic functions are always called
through IFn currently. Optimizing that is tracked in #130.
Fixes#129
All variadic function invocation currently happens through
IFn
, which will drop the types of any hinted required arguments. Ideally our genericMagic.Function
interfaces would support the variadtic case as well as the fixed arity cases. The contents of& rest
will almost certainly always beObject
, though.The text was updated successfully, but these errors were encountered: