Skip to content

Conversation

sirbrillig
Copy link
Owner

This allows non-abstract methods inside an abstract class to have unused parameters if the method body does nothing. Such methods are effectively optional abstract methods so their unused parameters should be ignored as we do with abstract method parameters.

Fixes #133

@sirbrillig sirbrillig merged commit 567221e into 2.x Aug 13, 2022
@sirbrillig sirbrillig deleted the allow-empty-body-for-abstract-methods-without-unused branch August 13, 2022 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unused parameters in methods in abstract classes
1 participant