[FIR] Clarify testData for invokes
This commit is contained in:
+3
-3
@@ -1,6 +1,6 @@
|
||||
|
||||
class Bar {
|
||||
operator fun invoke(): Foo { return this }
|
||||
operator fun invoke(): Foo { return this } // (1)
|
||||
|
||||
}
|
||||
|
||||
@@ -11,9 +11,9 @@ fun x() {
|
||||
class Foo {
|
||||
|
||||
|
||||
operator fun Bar.invoke(): Foo { return this }
|
||||
operator fun Bar.invoke(): Foo { return this } // (2)
|
||||
|
||||
val x: Bar = Bar()
|
||||
|
||||
fun bar() = x() // Should resolve to invoke
|
||||
fun bar() = x() // Should resolve to invoke (1)
|
||||
}
|
||||
Reference in New Issue
Block a user