K2: introduce custom Enum.entries migration checkers
Related to KT-56623, KT-56587 #KT-59344 Fixed
This commit is contained in:
committed by
Space Team
parent
e0d68fc93e
commit
3ff2c7d6f7
Vendored
+2
-2
@@ -10,7 +10,7 @@ enum class E {
|
||||
;
|
||||
|
||||
fun foo() {
|
||||
entries.length
|
||||
<!DEPRECATED_ACCESS_TO_ENTRY_PROPERTY_FROM_ENUM!>entries<!>.length
|
||||
pckg.entries.length
|
||||
}
|
||||
}
|
||||
@@ -21,7 +21,7 @@ class A {
|
||||
|
||||
class B {
|
||||
fun foo() {
|
||||
entries.length
|
||||
<!DEPRECATED_ACCESS_TO_ENTRY_PROPERTY_FROM_ENUM!>entries<!>.length
|
||||
pckg.entries.length
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user