[AA] Remove KtSymbolWithMembers from KtEnumEntrySymbol
- An enum entry is a variable which doesn't declare any additional members. It must not be confused with its implementing anonymous object initializer, which may declare additional members, but is an implementation detail hidden outside the enum entry's initializer. Hence, the enum entry variable should not have a (declared) member scope. - A following commit will add the ability to get the enum entry's initializer, so that a member scope for this initializer can be obtained (which might be relevant for local analysis). ^KT-61405 fixed
This commit is contained in:
committed by
Space Team
parent
f64cc184f4
commit
e72a38dc82
-7
@@ -1,7 +0,0 @@
|
||||
package test
|
||||
|
||||
enum class E {
|
||||
A
|
||||
}
|
||||
|
||||
// callable: test/E.A
|
||||
-1
@@ -1 +0,0 @@
|
||||
NO_SYMBOLS
|
||||
-1
@@ -1 +0,0 @@
|
||||
NO_SYMBOLS
|
||||
Reference in New Issue
Block a user