mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 00:21:28 +00:00
18 lines
190 B
Kotlin
Vendored
18 lines
190 B
Kotlin
Vendored
fun foo() {
|
|
a + b + c + d<caret>
|
|
}
|
|
|
|
val a = 1
|
|
|
|
val b = 1
|
|
get
|
|
|
|
val c: Int
|
|
get() = 1
|
|
|
|
val d: Int
|
|
get() {
|
|
return 1
|
|
}
|
|
|
|
// EXISTS: getter for c: Int, getter for d: Int |