15 lines
260 B
Plaintext
Vendored
15 lines
260 B
Plaintext
Vendored
// WITH_RUNTIME
|
|
|
|
class MyClass {
|
|
fun foo1(): MyClass = this
|
|
fun foo2(): MyClass = this
|
|
fun foo3(): MyClass = this
|
|
|
|
fun foo4(a: MyClass) {
|
|
with(a) {
|
|
foo1().foo2().foo3()
|
|
foo2()
|
|
foo3()
|
|
}
|
|
}
|
|
} |