Mikhail Zarechenskiy
dc9193893e
Add a test to check Java behavior with entries members
...
Note that there is a questionable behavior that will be fixed later.
Right now it's not fully clear because for the same situation in Kotlin, the compiler reports warnings at declaration-site and it's not possible to do so for Java
^KT-53153
2023-01-04 13:17:11 +00:00
Mikhail Zarechenskiy
3cdbb4876f
Add a warning for conflicting entries member
...
^KT-53153
2023-01-04 13:17:11 +00:00
Mikhail Zarechenskiy
cf4b415a20
Add a warning for name shadowing case with Enum.entries
...
^KT-53153
2023-01-04 13:17:11 +00:00
Mikhail Zarechenskiy
c70a1b1884
Add a warning for a custom Enum.entries entry
...
^KT-53153
2023-01-04 13:17:10 +00:00
Mikhail Zarechenskiy
989fc886e1
Add a warning for a user-defined entries property call
...
^KT-53153
2023-01-04 13:17:10 +00:00
Mikhail Zarechenskiy
695a538529
Move test about Enum.entries to a more specific folder
2023-01-04 13:17:10 +00:00