JVM IR: minor, fix enum lowering kdoc
invokedynamic-based logic was removed in 562b27db4e.
This commit is contained in:
committed by
Space Team
parent
081e006006
commit
449c866c7a
+2
-3
@@ -63,15 +63,14 @@ private class EnumClassLowering(private val context: JvmBackendContext) : ClassL
|
||||
* <clinit> {
|
||||
* A = new MyEnum("A", 0);
|
||||
* $VALUES = $values();
|
||||
* Function0<MyEnum[]> supplier = #invokedynamic ..args.. $entries;
|
||||
* $ENTRIES = new EnumEntriesList(supplier);
|
||||
* $ENTRIES = new EnumEntries($VALUES);
|
||||
* }
|
||||
*
|
||||
* public static MyEnum[] values() {
|
||||
* return $VALUES.clone();
|
||||
* }
|
||||
*
|
||||
* // Should be RO property from Kotlin standpoint
|
||||
* // Should be a read-only property from Kotlin's standpoint
|
||||
* public static EnumEntries<MyEnum> getEntries() {
|
||||
* return $ENTRIES;
|
||||
* }
|
||||
|
||||
Reference in New Issue
Block a user