[LL API] Get designation correctly for enum value members (KTIJ-23458)
Although being a 'KtClass' in the PSI, 'KtEnumEntry' is a callable in Analysis API, and its direct members should also be treated as local.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
enum class Foo {
|
||||
VALUE {
|
||||
/*PLACE*/fun run() = 1
|
||||
}
|
||||
}
|
||||
|
||||
/*ONAIR*/fun box(): Int = 0
|
||||
@@ -0,0 +1,3 @@
|
||||
public final [BODY_RESOLVE] fun box(): R|kotlin/Int| {
|
||||
^box Int(0)
|
||||
}
|
||||
Reference in New Issue
Block a user