[LL FIR, Java] fix resolve contract violation from java symbol provider
To create a smart psi type pointer, IJ Platform uses resolve. We cannot use resolve from JavaSymbolProvider, as it may lead to resolve contract violation. ^KT-59133 fixed
This commit is contained in:
committed by
Space Team
parent
f590e88bdd
commit
b8f15cbbb3
+11
@@ -0,0 +1,11 @@
|
||||
FILE: useSite.kt
|
||||
public final fun foo(): R|kotlin/Unit| {
|
||||
Q|InspectionProfileImpl|.R|/InspectionProfileImpl.INIT_INSPECTIONS| = Boolean(true)
|
||||
}
|
||||
FILE: NewInspectionProfile.kt
|
||||
public abstract class NewInspectionProfile : R|kotlin/Any| {
|
||||
public constructor(): R|NewInspectionProfile| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user