19 lines
264 B
Kotlin
Vendored
19 lines
264 B
Kotlin
Vendored
package privatePropertyWithExplicitDefaultGetter
|
|
|
|
fun main(args: Array<String>) {
|
|
val base = Some()
|
|
|
|
//Breakpoint!
|
|
args.size
|
|
}
|
|
|
|
annotation class Small
|
|
|
|
class Some {
|
|
private val a: Int = 1
|
|
@Small get
|
|
|
|
}
|
|
// EXPRESSION: base.a
|
|
// RESULT: 1: I
|