Introduce FirIdeModuleDependenciesSymbolProvider #KT-35424 In Progress

This solves problems with inter-module dependencies, at least in small projects.
However, Kotlin project still does not see stdlib.
Also, we often have problems with untouched types during expected type checks
(FirUserTypeRef instead of FirResolvedTypeRef)
This commit is contained in:
Mikhail Glukhikh
2019-12-16 13:44:48 +03:00
parent befcfad898
commit 37839a181c
6 changed files with 72 additions and 42 deletions
@@ -5,6 +5,7 @@
package org.jetbrains.kotlin.fir
import com.intellij.openapi.project.Project
import org.jetbrains.kotlin.analyzer.ModuleInfo
import org.jetbrains.kotlin.fir.types.FirTypeRef
import org.jetbrains.kotlin.fir.types.impl.*
@@ -53,6 +54,8 @@ class BuiltinTypes {
}
interface FirSessionProvider {
val project: Project
fun getSession(moduleInfo: ModuleInfo): FirSession?
}