-
-
Notifications
You must be signed in to change notification settings - Fork 783
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
ObjectLiteralToLambda: fix false positive when using Java interfaces with default methods #4203
Conversation
Codecov Report
@@ Coverage Diff @@
## main #4203 +/- ##
============================================
- Coverage 84.20% 84.19% -0.02%
+ Complexity 3233 3231 -2
============================================
Files 468 468
Lines 10183 10181 -2
Branches 1785 1784 -1
============================================
- Hits 8575 8572 -3
Misses 669 669
- Partials 939 940 +1
Continue to review full report at Codecov.
|
eaf4c85
to
341e165
Compare
…with default methods
341e165
to
6d3d1d4
Compare
override fun foo() { | ||
println() | ||
} | ||
} |
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 have no idea about this. Isn't it possible to use SAM when the interface has only one method but it has a default?
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.
d751f27
to
6c64ab3
Compare
Fixes #4161