K2: de-prioritize access to Enum.entries properly #KT-57954 Fixed

This commit is contained in:
Mikhail Glukhikh
2023-05-25 14:32:23 +02:00
committed by Space Team
parent 978d52d05b
commit b92f1e2036
15 changed files with 39 additions and 32 deletions
@@ -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
}
}