[IR] update testdata: better support for callable references

This commit is contained in:
Zalim Bashorov
2020-11-11 16:10:20 +03:00
committed by teamcityserver
parent 0d3d61862b
commit 8f155c23a0
16 changed files with 47 additions and 47 deletions
@@ -32,7 +32,7 @@ inline fun <A : Any?, B : Any?> foo(a: A, b: B, x: Function2<A, B, Inner<B, A>>)
fun box(): String {
val z: Foo<String> = Foo<String>()
val foo: Inner<String, String> = foo<String, String>(a = "O", b = "K", x = ::<init>)
val foo: Inner<String, String> = foo<String, String>(a = "O", b = "K", x = z::<init>/*<String>()*/)
return foo.<get-a>().plus(other = foo.<get-b>())
}