From 47a5e13ff398b89fdd82e1af6ac4b72dfa53ad7a Mon Sep 17 00:00:00 2001 From: Vasily Levchenko Date: Mon, 30 Jan 2017 15:03:17 +0300 Subject: [PATCH] STDLIB: konan.internal.ExportForCompiler added annotation to mark symbol exported for generation with compiler --- runtime/src/main/kotlin/konan/internal/Annotations.kt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/runtime/src/main/kotlin/konan/internal/Annotations.kt b/runtime/src/main/kotlin/konan/internal/Annotations.kt index 8d85bd8047e..bc3c46cfee6 100644 --- a/runtime/src/main/kotlin/konan/internal/Annotations.kt +++ b/runtime/src/main/kotlin/konan/internal/Annotations.kt @@ -21,4 +21,11 @@ annotation class HasBackingField */ @Target(AnnotationTarget.FUNCTION) @Retention(AnnotationRetention.BINARY) -annotation class Intrinsic \ No newline at end of file +annotation class Intrinsic + +/** + * Exports symbol for compiler needs. + */ +@Target(AnnotationTarget.FUNCTION, AnnotationTarget.CONSTRUCTOR) +@Retention(AnnotationRetention.BINARY) +annotation class ExportForCompiler \ No newline at end of file