2014-10-02 11:39 GMT+02:00 Damien Cassou <damien.cassou@gmail.com>:
Hi,

Imagine I have a package Super with a class Super and a package Sub
with a class Sub that inherits from Super.

If I create a moose model of the package Super, I get the class Sub as
a stub. I find that very surprising: why are all subclasses of the
system included in the model. The semantics of the inheritance
relation is one-way: a class knows its super class, not the opposite.

Can somebody explain why subclasses are included in the analyses?

I don't know much about the moose model and I consider inheritance
as an one-way relationship too, but otherwise, a Smalltalk class *knows* its
subclasses.

 

--
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm."
Winston Churchill
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev