[AA] Add member scope tests for inner classes
^KT-61900
This commit is contained in:
committed by
Space Team
parent
9fa0dfe4bc
commit
3d1262140d
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
package test
|
||||
|
||||
abstract class A {
|
||||
class ClassInA
|
||||
|
||||
inner class InnerClassInA
|
||||
}
|
||||
|
||||
class B : A() {
|
||||
class ClassInB
|
||||
|
||||
inner class InnerClassInB
|
||||
}
|
||||
|
||||
// class: test/B
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
class ClassInB
|
||||
|
||||
inner class InnerClassInB
|
||||
Vendored
+57
@@ -0,0 +1,57 @@
|
||||
KtNamedClassOrObjectSymbol:
|
||||
annotationsList: []
|
||||
classIdIfNonLocal: test/B.ClassInB
|
||||
classKind: CLASS
|
||||
companionObject: null
|
||||
contextReceivers: []
|
||||
isActual: false
|
||||
isData: false
|
||||
isExpect: false
|
||||
isExternal: false
|
||||
isFun: false
|
||||
isInline: false
|
||||
isInner: false
|
||||
modality: FINAL
|
||||
name: ClassInB
|
||||
origin: SOURCE
|
||||
superTypes: [
|
||||
KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: kotlin/Any
|
||||
]
|
||||
symbolKind: CLASS_MEMBER
|
||||
typeParameters: []
|
||||
visibility: Public
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
annotationApplicableTargets: null
|
||||
deprecationStatus: null
|
||||
|
||||
KtNamedClassOrObjectSymbol:
|
||||
annotationsList: []
|
||||
classIdIfNonLocal: test/B.InnerClassInB
|
||||
classKind: CLASS
|
||||
companionObject: null
|
||||
contextReceivers: []
|
||||
isActual: false
|
||||
isData: false
|
||||
isExpect: false
|
||||
isExternal: false
|
||||
isFun: false
|
||||
isInline: false
|
||||
isInner: true
|
||||
modality: FINAL
|
||||
name: InnerClassInB
|
||||
origin: SOURCE
|
||||
superTypes: [
|
||||
KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: kotlin/Any
|
||||
]
|
||||
symbolKind: CLASS_MEMBER
|
||||
typeParameters: []
|
||||
visibility: Public
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
annotationApplicableTargets: null
|
||||
deprecationStatus: null
|
||||
Reference in New Issue
Block a user