STDLIB: internal Array::<init>(Int) obtains konan.internal.ExportForCompiler annotation

This commit is contained in:
Vasily Levchenko
2017-01-30 15:06:00 +03:00
committed by vvlevchenko
parent 458aa058c0
commit 4905d2a056
+3
View File
@@ -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<T> : Cloneable {
index++
}
}
@ExportForCompiler
internal constructor(@Suppress("UNUSED_PARAMETER") size: Int) {}
public val size: Int