[AA, LL] use stubs to build deserialized Fir elements in IDE
^KTIJ-24638 Notice on `DebugSymbolRenderer`: stub based deserializer sets source directly, but it's available in IDE mode only. Thus, standalone and IDE tests have different results. In order to avoid this, sources for compiled code are explicitly ignored Notice on distinct callables: for a file which belong to multiple libraries, decompiled code would be build per library. In order to avoid ambiguity errors for members in that file, we need to distinct provided elements by origins failed test from IJ repo: FirReferenceResolveWithCrossLibTestGenerated#testSetWithTypeParameters
This commit is contained in:
@@ -22,6 +22,7 @@ import org.jetbrains.kotlin.name.Name
|
||||
// Use it in application sessions for loading classes from Java files listed on the command line.
|
||||
// For library and incremental compilation sessions use `KotlinDeserializedJvmSymbolsProvider`
|
||||
// in order to load Kotlin classes as well.
|
||||
//Also used in IDE for loading java classes separately from stub based kotlin classes
|
||||
class JavaSymbolProvider(
|
||||
session: FirSession,
|
||||
private val javaFacade: FirJavaFacade,
|
||||
|
||||
Reference in New Issue
Block a user