"lambda to anonymous": add tests for qualified types (KT-7710)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
package test
|
||||
|
||||
data class My(val x: Int)
|
||||
|
||||
fun foo(f: () -> My) {}
|
||||
|
||||
fun test() {
|
||||
foo <caret>{ My(42) }
|
||||
}
|
||||
Reference in New Issue
Block a user