Fix test data for convert function/property to property/function test
(cherry picked from commit e78c26a)
This commit is contained in:
committed by
Dmitry Petrov
parent
c2bc1280d3
commit
abca7107a7
@@ -1,4 +1,4 @@
|
||||
import static test.TestPackage.foo;
|
||||
import static test.JavaUsagesKt.foo;
|
||||
|
||||
class J {
|
||||
void test() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import static test.TestPackage.getFoo;
|
||||
import static test.JavaUsagesKt.getFoo;
|
||||
|
||||
class J {
|
||||
void test() {
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
class G {
|
||||
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
|
||||
|
||||
val <caret>bar: Int
|
||||
|
||||
Reference in New Issue
Block a user