Files
kotlin-fork/analysis/analysis-api/testData/scopes/substitutionOverridesUnwrapping/GenericFromFunctionInLocalClass2.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
288 B
Kotlin
Vendored

// DO_NOT_CHECK_SYMBOL_RESTORE
package test
class SomeClass
fun <Outer> topLevel() {
open class Base<T> {
fun withOuter(): Outer? = null
fun withOuterAndOwn(t: T): Outer? = null
}
class <caret>Child : Base<SomeClass>() {
fun noGenerics() {}
}
}