No override check in FirClassUseSiteScope, fix nasty substitution bug

This fixes MPP override test
(see mppFakeOverride in FirMultiModuleResolveTestGenerated)
This commit is contained in:
Mikhail Glukhikh
2019-03-07 17:24:19 +03:00
parent de14dd1b9f
commit f5e2cd2ac4
11 changed files with 25 additions and 14 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
class B : A() {
override fun foo(): B = this
fun bar(): B = this // Ambiguity, no override here
fun bar(): B = this // Here we should have "missing override" but no ambiguity
fun test() {
foo()