K2: de-prioritize access to Enum.entries properly #KT-57954 Fixed
This commit is contained in:
committed by
Space Team
parent
978d52d05b
commit
b92f1e2036
Vendored
+2
-2
@@ -10,7 +10,7 @@ enum class E {
|
||||
;
|
||||
|
||||
fun foo() {
|
||||
entries.<!UNRESOLVED_REFERENCE!>length<!>
|
||||
entries.length
|
||||
pckg.entries.length
|
||||
}
|
||||
}
|
||||
@@ -21,7 +21,7 @@ class A {
|
||||
|
||||
class B {
|
||||
fun foo() {
|
||||
entries.<!UNRESOLVED_REFERENCE!>length<!>
|
||||
entries.length
|
||||
pckg.entries.length
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user