Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding an instVar that is already present on a subclass is not caught #123

Open
MariusDoe opened this issue Jul 10, 2024 · 0 comments
Open
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. :-

Comments

@MariusDoe
Copy link

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

  1. Create a class Dummy
  2. Create a subclass DummySubclass
  3. Add an instVar myVar on DummySubclass
  4. Add an instVar myVar on Dummy

Expected behavior

An error is reported in step 4.

Actual behavior

No error is reported.

@LinqLover LinqLover added 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. :- labels Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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. :-
Projects
None yet
Development

No branches or pull requests

2 participants