Jochen Theodorou wrote: > if you say E#foo overwrites all older foo methods with the same number > of parameters, then your problem is solved, or not?
This is how it would be in JRuby as well...there's no capability in Ruby or in Java to explicitly invoke the superclass foo. The affordance we have to make in both Groovy and JRuby is that we are allowed to widen types on subclass methods, but I think that's a reasonable affordance since a complete lack of static typing in a method signature is the widest of all; it would be crippling to say that method could only ever be "new" and all statically typed methods from parent classes are still visible. The object's immediate metaclass has first go at an invocation in all cases...that's the dynlang way. - Charlie --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
