From 4905d2a05688494c3ee7b4cdb3f0663ac365bf1c Mon Sep 17 00:00:00 2001 From: Vasily Levchenko Date: Mon, 30 Jan 2017 15:06:00 +0300 Subject: [PATCH] STDLIB: internal Array::(Int) obtains konan.internal.ExportForCompiler annotation --- runtime/src/main/kotlin/kotlin/Array.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runtime/src/main/kotlin/kotlin/Array.kt b/runtime/src/main/kotlin/kotlin/Array.kt index 8acea4de9f7..ae4b694176e 100644 --- a/runtime/src/main/kotlin/kotlin/Array.kt +++ b/runtime/src/main/kotlin/kotlin/Array.kt @@ -1,4 +1,5 @@ package kotlin +import konan.internal.ExportForCompiler // TODO: remove that, as RTTI shall be per instantiation. @ExportTypeInfo("theArrayTypeInfo") @@ -11,6 +12,8 @@ public final class Array : Cloneable { index++ } } + + @ExportForCompiler internal constructor(@Suppress("UNUSED_PARAMETER") size: Int) {} public val size: Int