Files
kotlin-fork/analysis/analysis-api/testData/scopes/substitutionOverridesUnwrapping/GenericFromOuterClassInInnerClassInInheritor3.kt
T
Roman Golyshev fa8bb47bdf [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
2021-11-25 21:19:56 +03:00

16 lines
312 B
Kotlin
Vendored

package test
class SomeClass
open class TopLevel<Outer> {
open inner class Base<T> {
fun noGeneric() {}
fun withOuter(): Outer? = null
fun withOwnAndOuter(t: T): Outer? = null
}
}
class OtherTopLevel : TopLevel<SomeClass>() {
inner class <caret>Child : Base<SomeClass>()
}