[Tests] Add irText tests
This commit is contained in:
committed by
TeamCityServer
parent
a3cf1a11bf
commit
3f50b675b1
@@ -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 */
|
||||
}
|
||||
Reference in New Issue
Block a user