Minor, package "test" in compileJavaAgainstKotlin testData
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
package test;
|
||||
|
||||
@AString(value = Test.vstring)
|
||||
@AChar(value = Test.vchar)
|
||||
@AInt(value = Test.vint)
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
package test
|
||||
|
||||
annotation class AString(val value: String)
|
||||
annotation class AChar(val value: Char)
|
||||
annotation class AInt(val value: Int)
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
package test;
|
||||
|
||||
@AString(value = Test.vstring)
|
||||
@AChar(value = Test.vchar)
|
||||
@AInt(value = Test.vint)
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
package test
|
||||
|
||||
annotation class AString(val value: String)
|
||||
annotation class AChar(val value: Char)
|
||||
annotation class AInt(val value: Int)
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
package test;
|
||||
|
||||
public class kt3698 {
|
||||
|
||||
@interface Foo {
|
||||
@@ -8,4 +10,4 @@ public class kt3698 {
|
||||
public static void main(String[] args) {
|
||||
System.out.println(KotlinClass.FOO);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
package test
|
||||
|
||||
class KotlinClass {
|
||||
class object {
|
||||
val FOO: Int = 10
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
package test;
|
||||
|
||||
class staticClassProperty {
|
||||
|
||||
public static void main(String[] args) {
|
||||
@@ -5,4 +7,4 @@ class staticClassProperty {
|
||||
int j = Test.varProp;
|
||||
Test.varProp = 100;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
package test
|
||||
|
||||
class Test {
|
||||
|
||||
class object {
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
package test;
|
||||
|
||||
class staticTraitProperty {
|
||||
|
||||
public static void main(String[] args) {
|
||||
int i = Test.valProp;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
package test
|
||||
|
||||
trait Test {
|
||||
|
||||
class object {
|
||||
|
||||
Reference in New Issue
Block a user