No override check in FirClassUseSiteScope, fix nasty substitution bug
This fixes MPP override test (see mppFakeOverride in FirMultiModuleResolveTestGenerated)
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user