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

False positive on one_member_abstracts with implements #1826

Closed
dotdoom opened this issue Nov 9, 2019 · 1 comment · Fixed by #2028
Closed

False positive on one_member_abstracts with implements #1826

dotdoom opened this issue Nov 9, 2019 · 1 comment · Fixed by #2028
Labels
false-positive type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@dotdoom
Copy link

dotdoom commented Nov 9, 2019

Describe the issue

An abstract class which adds one member method to an existing interface triggers one_member_abstracts.

To Reproduce

abstract class FooBarable {
  void foo();
  void bar();
}

abstract class Bazable implements FooBarable {  // one_member_abstracts
  void baz();
}

Related but a different issue about one_member_abstracts: #990

@pq pq added false-positive type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) labels Nov 11, 2019
@pq
Copy link
Member

pq commented Nov 11, 2019

Thanks for the report @dotdoom!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
false-positive type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants