[FIR] Use the proper processAll* functions for CONFLICTING_OVERLOADS

The `*leaf*` functions were
introduced due to my false
assumption. The normal processing
functions only collect leafs
already. `*leaf*`s are bad, because
they don't cache anything.

The change in
AbstractFirOverrideScope reflects
KT-63290, and is needed to avoid
duplicate `CONFLICTING_OVERLOADS`
and `VIRTUAL_MEMBER_HIDDEN`.
This commit is contained in:
Nikolay Lunyak
2023-11-08 11:49:35 +02:00
committed by Space Team
parent 008703c1dc
commit 80cccce8d0
5 changed files with 4 additions and 53 deletions
@@ -1,6 +0,0 @@
enum class E {
ENTRY;
fun <!VIRTUAL_MEMBER_HIDDEN!>getDeclaringClass<!>() {}
<!ACCIDENTAL_OVERRIDE!>fun <!VIRTUAL_MEMBER_HIDDEN!>finalize<!>() {}<!>
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
enum class E {
ENTRY;