[FIR] Fix more tests because of modifier usage in resolution
This commit is contained in:
committed by
TeamCityServer
parent
07a8ae7e71
commit
419aa65381
+1
-1
@@ -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
-1
@@ -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
|
||||
}
|
||||
|
||||
+1
-1
@@ -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<!>()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user