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

traits may lead to the impossiblity to remove a slot #17593

Open
Ducasse opened this issue Jan 10, 2025 · 0 comments
Open

traits may lead to the impossiblity to remove a slot #17593

Ducasse opened this issue Jan 10, 2025 · 0 comments

Comments

@Ducasse
Copy link
Member

Ducasse commented Jan 10, 2025

  • create a class with a slot and a method accessing it.
  • define a trait with the same slot and method
  • introduce the trait in the class
  • you cannot remove the slot in the class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant