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

DalvikOverride: Method considered overridden by Dalvik #95

Closed
luontola opened this issue Apr 30, 2016 · 2 comments
Closed

DalvikOverride: Method considered overridden by Dalvik #95

luontola opened this issue Apr 30, 2016 · 2 comments

Comments

@luontola
Copy link
Owner

Reported at https://github.com/JakeWharton/retrolambda/issues/3 by @emakar


Having lambdas with the same name created in both superclass and its subclass lint would report an error, e.g:

com.example.BaseActivity {
  protected onCreate(..) {
    doSmth(() -> {});
  }
}

com.example.details.ChildActivity {
  protected onCreate(..) {
    doSmth(() -> {});
  }
}

"ChildActivity: This package private method may be unintentionally overriding lambda$onCreate$0 in com.example.BaseActivity"

@luontola luontola added the bug label Apr 30, 2016
@JakeWharton
Copy link
Contributor

Thanks for migrating this issue, I was going to ask them to report it upstream anyway. I've disabled issues on my fork which were only there to track issues with the fork itself so the link will now 404.

@luontola
Copy link
Owner Author

This is a duplicate of #109

@luontola luontola added duplicate and removed bug labels Jan 17, 2017
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

2 participants