mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 08:31:35 +00:00
9 lines
183 B
Kotlin
Vendored
9 lines
183 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
class Foo(var bar: Bar)
|
|
class Bar(var baz: Int)
|
|
|
|
fun test() {
|
|
val foo = Foo(Bar(1))
|
|
println(<selection>foo.bar</selection>)
|
|
foo.bar.baz = foo.bar.baz + 1
|
|
} |