Revert "FIR2IR: minimize scope processing in fake override generation"

This reverts commit 9934cfbb00.

See the tests added: Subclass may have private same-name method that
should not be a reason to avoid generating fake overrides
This commit is contained in:
Denis.Zharkov
2021-03-31 11:55:51 +03:00
parent 55e5af1111
commit fa65081878
10 changed files with 53 additions and 13 deletions
@@ -0,0 +1,9 @@
interface A<T> {
fun foo(t: T): T = t
}
class B : A<String> {
private fun foo() {}
}
fun box(): String = B().foo("OK")