UML Modelling?
itsme213
itsme213 at hotmail.com
Tue Feb 19 20:48:43 UTC 2008
"Andreas Raab" <andreas.raab at gmx.de> wrote in message
> Actually calling it "rename" is wrong. It's an "alias".
Thanks for the explanation, you are right.
I am actually interested in the case where the
#bar
is not implemented by the trait (hence is a required method), and I want the
self call to #bar to instead make a self-call to #baz (would "renamed" be
the right word for that?) so:
TSample>>foo
^ self bar
now behaves like
TSample'>>foo
^ self baz
I don't think traits do that. I believe it would be a useful capability.
Thanks,
Sophie
More information about the Squeak-dev
mailing list
|