Adding an instVar that is already present on a subclass is not caught #123
Labels
base system
[SCOPE] Squeak's basic (language) concerns such as Kernel, Collections, Graphics, Network
bug
[WHAT] Something isn't working as expected. Automated tests beneficial. :-
When adding an instVar on a class that is already present on a superclass, an error is reported.
However, when adding an instVar that is already present on a subclass, no error is reported.
Steps to reproduce
Dummy
DummySubclass
myVar
onDummySubclass
myVar
onDummy
Expected behavior
An error is reported in step 4.
Actual behavior
No error is reported.
The text was updated successfully, but these errors were encountered: