[AA] Add tests for combined declared member scopes

^KT-61800
This commit is contained in:
Marco Pennekamp
2023-09-14 23:37:18 +02:00
committed by Space Team
parent 5679acbbdb
commit 239cfa6d29
55 changed files with 3153 additions and 0 deletions
@@ -0,0 +1,12 @@
// script
abstract class Person {
abstract val name: String
}
fun foo(action: () -> Int) {
action()
}
foo {
42 + 42
}
@@ -0,0 +1,28 @@
KtNamedClassOrObjectSymbol:
annotationsList: []
classIdIfNonLocal: Person
classKind: CLASS
companionObject: null
contextReceivers: []
isActual: false
isData: false
isExpect: false
isExternal: false
isFun: false
isInline: false
isInner: false
modality: ABSTRACT
name: Person
origin: SOURCE
superTypes: [
KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Any
]
symbolKind: TOP_LEVEL
typeParameters: []
visibility: Public
getContainingModule: KtScriptModule "Script scriptWithClassDeclaration.kts"
annotationApplicableTargets: null
deprecationStatus: null