Skip to content

Fixes #1183: Make override check more forgiving to accomondate Kotlin compile patterns. #1217

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

Merged
merged 1 commit into from
Oct 22, 2017

Conversation

raphw
Copy link
Member

@raphw raphw commented Oct 21, 2017

The override check implies Java compile patterns such that Kotlin method resolutions could fail for void return types which do not fit into Java's reference-type only generic hierarchies. This PR eases this restriction to fix this resolution for Kotlin.

I added the test case of the reported issue as a reference.

@codecov-io
Copy link

codecov-io commented Oct 21, 2017

Codecov Report

Merging #1217 into release/2.x will decrease coverage by 0.04%.
The diff coverage is 63.63%.

Impacted file tree graph

@@                Coverage Diff                @@
##             release/2.x    #1217      +/-   ##
=================================================
- Coverage          87.32%   87.27%   -0.05%     
+ Complexity          2304     2301       -3     
=================================================
  Files                287      287              
  Lines               5855     5856       +1     
  Branches             696      696              
=================================================
- Hits                5113     5111       -2     
- Misses               555      556       +1     
- Partials             187      189       +2
Impacted Files Coverage Δ Complexity Δ
.../internal/creation/bytebuddy/MockMethodAdvice.java 62.16% <63.63%> (-2.39%) 14 <3> (-3)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4089294...a507d05. Read the comment docs.

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.

Test pass, so I assume this is the correct fix 😉

@raphw raphw merged commit 53976e9 into release/2.x Oct 22, 2017
@TimvdLippe TimvdLippe deleted the fix-self-invoke-check branch October 22, 2017 14:15
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.

3 participants