origin is the place (trait) where the method is originally defined. so this is important. On Aug 25, 2012, at 11:52 AM, Veronica Isabel Uquillas Gomez wrote:
origin is not the same as package in CompiledMethod origin refers to the class or trait that actually defines the method
we do not have that in Ring. I will add that behavior but not with that name.. It does not say anything to me
On 24 Aug 2012, at 17:58, Camillo Bruni wrote:
I think instead of having a 'package' instVar we should have something like 'origin'. I remember adding #origin to CompiledMethod simplifying quite a bit.
On 2012-08-24, at 17:48, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
Good point I'm not sure that we handled that.
On Aug 24, 2012, at 4:56 PM, Camillo Bruni wrote:
How can I figure out whether an RGMethodDefininition is coming from a Trait?
method := (DatePrintFormatTester >> #shouldFix:). method origin isTrait "returns true".
how can I do the same with Ring?