[FIR] Fix more tests because of modifier usage in resolution

This commit is contained in:
Andrey Zinovyev
2021-05-19 11:59:53 +03:00
committed by TeamCityServer
parent 07a8ae7e71
commit 419aa65381
15 changed files with 21 additions and 24 deletions
@@ -5,7 +5,7 @@ FILE: implicitTypeOrder.kt
}
public final fun bar(): R|A| {
^bar R|/foo|.R|/A.invoke|()
^bar R|/foo|.<Inapplicable(INAPPLICABLE_MODIFIER): /A.invoke>#()
}
public final fun invoke(): R|A| {
@@ -1,6 +1,6 @@
class A {
fun bar() = foo() // should resolve to invoke
fun bar() = <!OPERATOR_MODIFIER_REQUIRED!>foo<!>() // should resolve to invoke
fun invoke() = this
}