mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 00:21:28 +00:00
Generate fields for 'const' properties in facade class. NB reading annotations for 'const' vals in multifile class doesn't work, KT-10892.
14 lines
272 B
Kotlin
Vendored
14 lines
272 B
Kotlin
Vendored
import a.OK
|
|
|
|
fun box(): String {
|
|
val okRef = ::OK
|
|
|
|
// TODO
|
|
// val annotations = okRef.annotations
|
|
// val numAnnotations = annotations.size
|
|
// if (numAnnotations != 1) {
|
|
// return "Failed, annotations: $annotations"
|
|
// }
|
|
|
|
return okRef.get()
|
|
} |