[AA] Add tests for combined declared member scopes
^KT-61800
This commit is contained in:
committed by
Space Team
parent
5679acbbdb
commit
239cfa6d29
+12
@@ -0,0 +1,12 @@
|
||||
// script
|
||||
abstract class Person {
|
||||
abstract val name: String
|
||||
}
|
||||
|
||||
fun foo(action: () -> Int) {
|
||||
action()
|
||||
}
|
||||
|
||||
foo {
|
||||
42 + 42
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
abstract class Person
|
||||
+28
@@ -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
|
||||
Reference in New Issue
Block a user