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

Check package-privacy of method params #2318

Merged
merged 2 commits into from Jun 9, 2021

Conversation

charlesmunger
Copy link
Contributor

This patch handles methods where an interface uses a package-private type as a param or return value - without it, the generated mock class will produce AbstractMethodError, since its methods do not actually override the methods of the interfaces.

Followup on #2303

@charlesmunger charlesmunger marked this pull request as ready for review June 9, 2021 03:00
@charlesmunger
Copy link
Contributor Author

I have run this through google's internal tests and it doesn't break anything.

Copy link
Contributor

@TimvdLippe TimvdLippe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

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.

None yet

2 participants