0d5cfa97a5
NB: this commit includes receiver-based assertions yet failing for some tests
8 lines
205 B
Kotlin
Vendored
8 lines
205 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
fun foo(x: Int, y: Int) = x
|
|
fun bar(x: Int) = foo(x, 1)
|
|
fun qux(x: Int) = foo(foo(x, x), x)
|
|
|
|
fun Int.ext1() = this
|
|
fun Int.ext2(x: Int) = foo(this, x)
|
|
fun Int.ext3(x: Int) = foo(ext1(), x) |