[FIR IDE] Add unwrapping substitution overrides which doesn't affect function's signature
Also, do not use PSI to restore SUBSTITUTION_OVERRIDE function/property symbols
This commit is contained in:
committed by
teamcityserver
parent
2766dc938b
commit
fa8bb47bdf
Vendored
+31
@@ -0,0 +1,31 @@
|
||||
package test
|
||||
|
||||
class SomeClass1
|
||||
class SomeClass2
|
||||
|
||||
interface InterfaceWithValBase<T1, T2> {
|
||||
val noGenerics_InterfaceWithValBase: SomeClass1
|
||||
|
||||
val withOuterGenericT1_InterfaceWithValBase: T1
|
||||
|
||||
val withOuterGenericT2_InterfaceWithValBase: T2
|
||||
|
||||
val <Own> Own.withOwnGeneric_InterfaceWithValBase: SomeClass1
|
||||
|
||||
val <Own> Own.withOwnAndOuterGenericT1_InterfaceWithValBase: T1
|
||||
|
||||
val <Own> Own.withOwnAndOuterGenericT2_InterfaceWithValBase: T2
|
||||
}
|
||||
|
||||
interface InterfaceWithVal<T> : InterfaceWithValBase<SomeClass1, T> {
|
||||
val noGenerics_InterfaceWithVal: SomeClass1
|
||||
|
||||
val withOuterGeneric_InterfaceWithVal: T
|
||||
|
||||
val <Own> Own.withOwnGeneric_InterfaceWithVal: SomeClass1
|
||||
|
||||
val <Own> Own.withOwnAndOuterGeneric_InterfaceWithVal: T
|
||||
}
|
||||
|
||||
|
||||
abstract class <caret>ClassWithInterfaceWithVal : InterfaceWithVal<SomeClass2>
|
||||
Reference in New Issue
Block a user