[LL FIR, Java] fix resolve contract violation from java symbol provider from permits
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-59243 Fixed
This commit is contained in:
committed by
Space Team
parent
5af8b9e819
commit
7631e90f12
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
FILE: useSite.kt
|
||||
public final fun foo(): R|kotlin/Int| {
|
||||
^foo Int(4)
|
||||
}
|
||||
FILE: KotlinInterface.kt
|
||||
public abstract interface KotlinInterface : R|kotlin/Any| {
|
||||
public abstract var selectedOptions: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
public set(value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user