[FIR] Move TrackableModuleInfo to the common frontend
- FIR-specific parts of the Kotlin IntelliJ plugin depend on `TrackableModuleInfo`, so it should be part of the common frontend.
This commit is contained in:
committed by
Space Team
parent
5e30adec06
commit
4ead02271b
@@ -17,7 +17,6 @@
|
||||
package org.jetbrains.kotlin.analyzer
|
||||
|
||||
import com.intellij.openapi.project.Project
|
||||
import com.intellij.openapi.util.ModificationTracker
|
||||
import com.intellij.psi.search.GlobalSearchScope
|
||||
import org.jetbrains.kotlin.config.LanguageVersionSettings
|
||||
import org.jetbrains.kotlin.config.LanguageVersionSettingsImpl
|
||||
@@ -115,10 +114,6 @@ fun ModuleInfo.flatten(): List<ModuleInfo> = when (this) {
|
||||
|
||||
fun ModuleInfo.unwrapPlatform(): ModuleInfo = if (this is CombinedModuleInfo) platformModule else this
|
||||
|
||||
interface TrackableModuleInfo : ModuleInfo {
|
||||
fun createModificationTracker(): ModificationTracker
|
||||
}
|
||||
|
||||
interface LibraryModuleSourceInfoBase : ModuleInfo
|
||||
interface NonSourceModuleInfoBase : ModuleInfo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user