K1/K2: add some more tests around KT-63558
This commit is contained in:
committed by
Space Team
parent
c0635be31f
commit
3a106fc88e
+11
@@ -27,3 +27,14 @@ object Test2 {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
object Test3 {
|
||||
fun foo(f: () -> Int) = 1
|
||||
|
||||
fun foo(f: () -> Unit) = "2"
|
||||
|
||||
fun test(f: () -> Int) {
|
||||
val result = foo(f)
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Int")!>result<!>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user