From 03e9d7a701d808c57cd353629f997c1103c9b67d Mon Sep 17 00:00:00 2001 From: Mikhael Bogdanov Date: Wed, 31 May 2017 11:56:25 +0200 Subject: [PATCH] Use KOTLIN_REFLECT_FQ_NAME from builtins --- .../org/jetbrains/kotlin/backend/common/CommonBackendContext.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/common/CommonBackendContext.kt b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/common/CommonBackendContext.kt index 8278451b8d0..d33d8557e8b 100644 --- a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/common/CommonBackendContext.kt +++ b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/common/CommonBackendContext.kt @@ -1,6 +1,7 @@ package org.jetbrains.kotlin.backend.common import org.jetbrains.kotlin.backend.common.ir.Ir +import org.jetbrains.kotlin.builtins.KOTLIN_REFLECT_FQ_NAME import org.jetbrains.kotlin.cli.common.messages.MessageCollector import org.jetbrains.kotlin.config.CompilerConfiguration import org.jetbrains.kotlin.descriptors.ClassDescriptor @@ -38,7 +39,6 @@ interface CommonBackendContext : BackendContext { } class ReflectionTypes(module: ModuleDescriptor, internalPackage: FqName) { - val KOTLIN_REFLECT_FQ_NAME = FqName("kotlin.reflect") private val kotlinReflectScope: MemberScope by lazy(LazyThreadSafetyMode.PUBLICATION) { module.getPackage(KOTLIN_REFLECT_FQ_NAME).memberScope