mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 00:21:28 +00:00
8 lines
146 B
Kotlin
Vendored
8 lines
146 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
class Foo(var bar: Int)
|
|
|
|
fun test() {
|
|
val foo = Foo(1)
|
|
println(<selection>foo.bar</selection>)
|
|
foo.bar = foo.bar + 1
|
|
} |