KT-6165, KT-9547: fix testData for JPS plugin.
Test contains effectively single module (with circular dependencies), and should not have conflicting declarations. Rename the package in a library used in this test. #KT-9547 Fixed
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
package lib.module1;
|
||||
|
||||
public class JavaClass {
|
||||
public static void oldJavaMethod() {}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package lib.module1
|
||||
|
||||
import lib.module2.*
|
||||
|
||||
fun foo() {
|
||||
JavaClass.oldJavaMethod()
|
||||
|
||||
KotlinObject.oldKotlinMethod()
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
package lib.module2
|
||||
|
||||
public object KotlinObject {
|
||||
public fun oldKotlinMethod() {
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package lib.module2
|
||||
|
||||
import lib.module1.*
|
||||
|
||||
fun bar() {
|
||||
JavaClass.oldJavaMethod()
|
||||
|
||||
KotlinObject.oldKotlinMethod()
|
||||
}
|
||||
Reference in New Issue
Block a user