[AA] Refactoring: Rename AbstractMemberScopeByFqNameTest to AbstractMemberScopeTest
^KT-61900
This commit is contained in:
committed by
Space Team
parent
9db9f58fba
commit
1408556511
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
// DO_NOT_CHECK_NON_PSI_SYMBOL_RESTORE_K1
|
||||
// class: test/ClassWithGenericBase
|
||||
package test
|
||||
|
||||
class Foo
|
||||
|
||||
abstract class Base<T> {
|
||||
fun noGeneric() = 42
|
||||
fun noGenericWithExplicitType(): Int = 24
|
||||
fun withOuterGeneric(t: T) = "str"
|
||||
fun withOuterGenericWithExplicitType(t: T): String = "rts"
|
||||
fun <TT> withOwnGeneric(tt: TT) = true
|
||||
fun <TT> withOwnGenericWithExplicitType(tt: TT): Boolean = false
|
||||
fun <TT> withOuterAndOwnGeneric(t: T, tt: TT) = 4L
|
||||
fun <TT> withOuterAndOwnGenericWithExplicitType(t: T, tt: TT): Long = 1L
|
||||
}
|
||||
|
||||
class ClassWithGenericBase : Base<Foo>()
|
||||
Reference in New Issue
Block a user