Fix test data for convert function/property to property/function test

(cherry picked from commit e78c26a)
This commit is contained in:
Pavel V. Talanov
2015-10-15 21:14:08 +03:00
committed by Dmitry Petrov
parent c2bc1280d3
commit abca7107a7
4 changed files with 4 additions and 4 deletions
@@ -1,4 +1,4 @@
import static test.TestPackage.foo; import static test.JavaUsagesKt.foo;
class J { class J {
void test() { void test() {
@@ -1,4 +1,4 @@
import static test.TestPackage.getFoo; import static test.JavaUsagesKt.getFoo;
class J { class J {
void test() { void test() {
@@ -1,5 +1,5 @@
class G { class G {
void test() { void test() {
test.TestPackage.bar; test.PropertyCallGroovyKt.bar;
} }
} }
@@ -1,4 +1,4 @@
// SHOULD_FAIL_WITH: Can't replace foreign reference with call expression: test.TestPackage.bar // SHOULD_FAIL_WITH: Can't replace foreign reference with call expression: test.PropertyCallGroovyKt.bar
package test package test
val <caret>bar: Int val <caret>bar: Int