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 {
|
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
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user