[Tests] Add irText tests
This commit is contained in:
committed by
TeamCityServer
parent
a3cf1a11bf
commit
3f50b675b1
@@ -0,0 +1,23 @@
|
||||
class C {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
val c: Int
|
||||
field = 42
|
||||
get
|
||||
|
||||
}
|
||||
|
||||
fun foo(<this>: C) {
|
||||
<this>.<get-c>() /*~> Unit */
|
||||
}
|
||||
|
||||
fun bar(c: C) {
|
||||
with<C, Unit>(receiver = c, block = local fun C.<anonymous>() {
|
||||
foo(<this> = $this$with)
|
||||
}
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user