Moved Konan specific annotation "@Used" to "konan" package.
This commit is contained in:
committed by
alexander-gorshenev
parent
bd5b4b2f52
commit
b2983850b6
+2
-1
@@ -36,7 +36,8 @@ class KonanBuiltIns: KotlinBuiltIns {
|
||||
object KonanPlatform : TargetPlatform("Konan") {
|
||||
override val defaultImports: List<ImportPath> = Default.defaultImports + listOf(
|
||||
ImportPath("kotlin.*"),
|
||||
ImportPath("kotlin.io.*")
|
||||
ImportPath("kotlin.io.*"),
|
||||
ImportPath("konan.*")
|
||||
)
|
||||
|
||||
override val platformConfigurator: PlatformConfigurator = KonanPlatformConfigurator
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import org.jetbrains.kotlin.descriptors.FunctionDescriptor
|
||||
import org.jetbrains.kotlin.descriptors.annotations.*
|
||||
import org.jetbrains.kotlin.name.FqName
|
||||
|
||||
private val annotationName = FqName("kotlin.Used")
|
||||
private val annotationName = FqName("konan.Used")
|
||||
|
||||
internal val FunctionDescriptor.usedAnnotation: Boolean
|
||||
get() {
|
||||
|
||||
Reference in New Issue
Block a user