[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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user