extension fits more package. Because without container of set of declaration the world is
flat and
extension does not have meaning.
Stef
On Jan 21, 2011, at 6:34 PM, Nicolas Anquetil wrote:
I believe a package with an extension method should be seen as depending on the package
owning the extended class (and also depending on the extended class)
Right now, this is not implemented in the various {sure|potential}ReferencedPackage ,
{sure|potential}ReferencedClass
After discussing with Simon, we believe that this would at least call for an explicit
representation of the extension as an association.
This would go in Famix-Smalltalk
The question maybe how to represent this?
Simon sees it as an association between a package and a method: Me (package) defines an
extension (the method)
I was rather thinking of a class/method association: Me (class) am extended by you
(method)
and the reverse: me (method) extends you (class)
then of course we would need to implement the query system on top of this ...
what do you people think about this?
nicolas
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev