> setTarget(filterArguments(findVirtual(MethodHandle.class, "invoke",
>   type()), 0, insertArguments(findVirtual(SephObject.class,
>   "invocationFor", MethodHandle.class, int.class), 1, arity()));
>                    ^^^^^^^^^^^^
Completely right.

> Just a question, why invocationFor is called on the receiver
> and not on the receiver class (or prototype).
Because I'm building a prototype based language and the behavior is
decided by the result of the invocationFor method.

Cheers
-- 
 Ola Bini (http://olabini.com)
  Ioke - JRuby - ThoughtWorks

 "Yields falsehood when quined" yields falsehood when quined.

-- 
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en.

Reply via email to