[FIR] Only check conflicting callables that may clash with declared ones

This change improves performance, as
checking callables via scopes in
`4e587157` turns out to be quite
slow, and it also prevents some redundant
diagnostics.
This commit is contained in:
Nikolay Lunyak
2023-10-16 14:07:06 +03:00
committed by Space Team
parent 9e57aba448
commit 44d6d10233
4 changed files with 40 additions and 81 deletions
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
open class Final {
fun foo() {}
val bar: Int = 0