-
Notifications
You must be signed in to change notification settings - Fork 62
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
Adds support for Sprout-generated equality/hashCode #1182
Conversation
Adds default and methods to each product Previous generation resulted in interfaces
Conformance comparison report
Number passing in both: 5372 Number failing in both: 446 Number passing in Base (eb0b72e) but now fail: 0 Number failing in Base (eb0b72e) but now pass: 0 |
this.props.forEach { prop -> | ||
body.addStatement("if (%N != other.%N) return false", prop.name, prop.name) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should deeply compare collections as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be deeply comparing as-is. I just pushed tests to show some examples. Thanks!
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #1182 +/- ##
=========================================
Coverage 71.55% 71.55%
Complexity 2323 2323
=========================================
Files 224 224
Lines 17097 17097
Branches 3189 3189
=========================================
Hits 12233 12233
Misses 3881 3881
Partials 983 983
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Relevant Issues
Description
:test/sprout-tests
subproject to run integration tests on generated codeOther Information
and Code Style Guidelines? NO
License Information
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.