Status: FixReviewNeeded
Owner:
[hidden email]
Labels: Type-Bug Milestone-2.0
New issue 5738 by
[hidden email]: do allow the same ivar in the
hierarchy
http://code.google.com/p/pharo/issues/detail?id=5738right now, a hard error is raised by ClassBuilder if you add an invar with
a name of an existing one somewhere
in the hierarchy.
This is not good, as it makes it impossible to move an ivar up the
hierarchy in two steps.
Therefore, we should disable this.
Conceptially, testing this would be nice but not that deep in the system.
This should be done at the tool level.
(if you want to test: have a look at ExpandedSourceFileArray and try to
refactor it to one class.
The first step is to one the ivar files up, which is impossible.
Attachments:
AllowMultipleSameVarsInHiearchy.1.cs 1.1 KB
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker