FIR: implements multi-module resolve, add tests #KT-24093 Fixed

This commit introduces FIR session provider, dependency provider,
library session + other infrastructure necessary for multi-module resolve
This commit is contained in:
Mikhail Glukhikh
2018-04-05 19:27:00 +03:00
parent bc82f2f940
commit 6e369e156d
27 changed files with 366 additions and 49 deletions
@@ -12,7 +12,7 @@ import org.jetbrains.kotlin.resolve.jvm.platform.JvmPlatform
class FirTestModuleInfo(
override val name: Name = Name.identifier("TestModule"),
private val dependencies: List<ModuleInfo> = emptyList(),
val dependencies: MutableList<ModuleInfo> = mutableListOf(),
override val platform: TargetPlatform = JvmPlatform
) : ModuleInfo {
override fun dependencies(): List<ModuleInfo> = dependencies