Update test data for j2k converter tests
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// ERROR: Cannot access 'staticFoo': it is 'private' in '<class-object-for-C>'
|
||||
// ERROR: Cannot access 'staticFoo': it is 'private' in '<class-object-for-C>'
|
||||
// ERROR: Cannot access 'staticFoo': it is 'private' in 'Default'
|
||||
// ERROR: Cannot access 'staticFoo': it is 'private' in 'Default'
|
||||
fun C(arg1: Int, arg2: Int, other: C): C {
|
||||
val __ = C(arg1, arg2, 0)
|
||||
System.out.println(__.foo(1) + __.foo(2) + other.foo(3) + C.staticFoo(4) + C.staticFoo(5))
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// ERROR: Cannot access 'staticField1': it is 'private' in '<class-object-for-C>'
|
||||
// ERROR: Cannot access 'staticField2': it is 'private' in '<class-object-for-C>'
|
||||
// ERROR: Cannot access 'staticField1': it is 'private' in 'Default'
|
||||
// ERROR: Cannot access 'staticField2': it is 'private' in 'Default'
|
||||
fun C(p: Int): C {
|
||||
val __ = C()
|
||||
System.out.println(C.staticField1 + C.staticField2)
|
||||
|
||||
@@ -4,7 +4,7 @@ import kotlinApi.KotlinClass;
|
||||
class C {
|
||||
int foo() {
|
||||
KotlinClass.staticVar = KotlinClass.staticVar * 2;
|
||||
KotlinClass.OBJECT$.setStaticProperty(KotlinClass.OBJECT$.getStaticVar() + KotlinClass.OBJECT$.getStaticProperty());
|
||||
return KotlinClass.OBJECT$.staticFun(1);
|
||||
KotlinClass.Default.setStaticProperty(KotlinClass.Default.getStaticVar() + KotlinClass.Default.getStaticProperty());
|
||||
return KotlinClass.Default.staticFun(1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,10 +5,10 @@ class A {
|
||||
int foo(KotlinClass c) {
|
||||
return c.getNullableProperty().length()
|
||||
+ c.getProperty().length()
|
||||
+ KotlinClass.OBJECT$.getNullableStaticVar()
|
||||
+ KotlinClass.OBJECT$.getStaticVar()
|
||||
+ KotlinClass.OBJECT$.nullableStaticFun(1)
|
||||
+ KotlinClass.OBJECT$.staticFun(1)
|
||||
+ KotlinClass.Default.getNullableStaticVar()
|
||||
+ KotlinClass.Default.getStaticVar()
|
||||
+ KotlinClass.Default.nullableStaticFun(1)
|
||||
+ KotlinClass.Default.staticFun(1)
|
||||
+ KotlinApiPackage.nullableGlobalFunction("").length()
|
||||
+ KotlinApiPackage.globalFunction("").length();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user