[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
}
@@ -24,5 +24,5 @@ FILE: qualifierWithCompanion.kt
local final fun R|my/A|.invoke(): R|kotlin/Unit| {
}
Q|my|.R|my/xx|.R|<local>/invoke|()
Q|my|.R|my/xx|.<Inapplicable(INAPPLICABLE_MODIFIER): <local>/invoke>#()
}
@@ -15,5 +15,5 @@ fun test() {
fun A.invoke() {}
my.xx()
my.<!OPERATOR_MODIFIER_REQUIRED!>xx<!>()
}