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

Fix inherited method being written twice inside generated ViewState when using modifiers #259

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

bejibx
Copy link

@bejibx bejibx commented Jun 26, 2019

Latest version of Moxy (1.5.6) compare interface methods with superclass methods using TypeSpec#equal(Object), which leads to methods not being equal when we rename parameter in overriden method or add modifier to it (final for example). This leads to those methods are generated multiple times inside ViewState which breaks build. I change this logic to compare methods only be name and parameter types sequentially.

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.

1 participant