Pseudocode: Do not generate implicit return instruction inside of
Unit-typed lambdas #KT-5549 Fixed
This commit is contained in:
@@ -13,6 +13,5 @@ public class A {
|
||||
|
||||
fun main() {
|
||||
A.<!OVERLOAD_RESOLUTION_AMBIGUITY!>foo<!> { "Hello!" }
|
||||
A.foo(Runnable { "Hello!" })
|
||||
}
|
||||
|
||||
A.foo(Runnable { <!UNUSED_EXPRESSION!>"Hello!"<!> })
|
||||
}
|
||||
Reference in New Issue
Block a user