[Tests] Add irText tests

This commit is contained in:
Anastasiya Shadrina
2021-10-15 02:38:30 +07:00
committed by TeamCityServer
parent a3cf1a11bf
commit 3f50b675b1
64 changed files with 4291 additions and 1 deletions
@@ -0,0 +1,14 @@
fun foo(<this>: Int, <this>: String): Int {
return <this>.plus(other = 42)
}
fun foo(<this>: Int): Int {
return <this>.plus(other = 42)
}
fun test() {
with<Int, Int>(receiver = 42, block = local fun Int.<anonymous>(): Int {
return foo(<this> = $this$with)
}
) /*~> Unit */
}