[FIR] Move LibraryModuleInfo to the common frontend
- FIR-specific parts of the Kotlin IntelliJ plugin depend on `LibraryModuleInfo`, so it should be part of the common frontend.
This commit is contained in:
committed by
Space Team
parent
ff174dbad9
commit
9e3ce9cf67
@@ -28,7 +28,6 @@ import org.jetbrains.kotlin.descriptors.PackageFragmentProvider
|
||||
import org.jetbrains.kotlin.descriptors.impl.ModuleDependencies
|
||||
import org.jetbrains.kotlin.descriptors.impl.ModuleDescriptorImpl
|
||||
import org.jetbrains.kotlin.name.FqName
|
||||
import org.jetbrains.kotlin.platform.TargetPlatform
|
||||
import org.jetbrains.kotlin.platform.TargetPlatformVersion
|
||||
import org.jetbrains.kotlin.psi.KtFile
|
||||
import org.jetbrains.kotlin.resolve.SealedClassInheritorsProvider
|
||||
@@ -117,12 +116,6 @@ fun ModuleInfo.unwrapPlatform(): ModuleInfo = if (this is CombinedModuleInfo) pl
|
||||
interface LibraryModuleSourceInfoBase : ModuleInfo
|
||||
interface NonSourceModuleInfoBase : ModuleInfo
|
||||
|
||||
interface LibraryModuleInfo : ModuleInfo {
|
||||
override val platform: TargetPlatform
|
||||
|
||||
fun getLibraryRoots(): Collection<String>
|
||||
}
|
||||
|
||||
abstract class ResolverForModuleFactory {
|
||||
open fun <M : ModuleInfo> createResolverForModule(
|
||||
moduleDescriptor: ModuleDescriptorImpl,
|
||||
|
||||
Reference in New Issue
Block a user