From 2a4e1a0b99ab3df7ea22085c3aacbc591e0ac0ce Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Thu, 30 Jul 2020 14:40:46 +0300 Subject: [PATCH] [FIR] Clarify testData for invokes --- .../resolve/expresssions/invoke/explicitReceiver2.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/fir/analysis-tests/testData/resolve/expresssions/invoke/explicitReceiver2.kt b/compiler/fir/analysis-tests/testData/resolve/expresssions/invoke/explicitReceiver2.kt index dd7c6d005df..d45f7fd022c 100644 --- a/compiler/fir/analysis-tests/testData/resolve/expresssions/invoke/explicitReceiver2.kt +++ b/compiler/fir/analysis-tests/testData/resolve/expresssions/invoke/explicitReceiver2.kt @@ -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) } \ No newline at end of file