FE: add test to ensure Java entries static field is resolved normally

This commit is contained in:
Mikhail Glukhikh
2023-06-15 13:11:48 +02:00
committed by Space Team
parent 905e1dcd3b
commit 78f4d399d4
7 changed files with 67 additions and 0 deletions
@@ -0,0 +1,9 @@
FILE: test.kt
public final val entries: R|kotlin/Int| = Int(0)
public get(): R|kotlin/Int|
public final val somethingElse: R|kotlin/Int| = Int(1)
public get(): R|kotlin/Int|
public final fun test(): R|kotlin/Unit| {
R|pkg/JEnumStaticField.entries*s|.R|kotlin/String.length|
R|pkg/JEnumStaticField.somethingElse*s|.R|kotlin/String.length|
}