JVM IR: move non-private const properties from multifile part to facade

This commit is contained in:
Alexander Udalov
2019-07-24 14:53:46 +02:00
parent f01b0f6467
commit 49b534e894
3 changed files with 81 additions and 20 deletions
@@ -16,13 +16,10 @@ import a.OK
fun box(): String {
val okRef = ::OK
// TODO: see KT-10892
// val annotations = okRef.annotations
// val numAnnotations = annotations.size
// if (numAnnotations != 1) {
// throw AssertionError("Failed, annotations: $annotations")
// }
val annotations = okRef.annotations
if (annotations.size != 1) {
throw AssertionError("Failed, annotations: $annotations")
}
val result = okRef.get()
return result
return okRef.get()
}