Transform Enum.values to property
This commit is contained in:
@@ -7,5 +7,5 @@ public enum A {
|
||||
|
||||
// FILE: test.kt
|
||||
fun main() {
|
||||
checkSubtype<Array<A>>(A.values())
|
||||
checkSubtype<Array<A>>(A.values)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user