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:
@@ -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?
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user