Minor, package "test" in compileJavaAgainstKotlin testData
This commit is contained in:
+2
@@ -1,3 +1,5 @@
|
||||
package test;
|
||||
|
||||
class ExtendsB extends B {
|
||||
void test() {
|
||||
byte x = foo();
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
package test
|
||||
|
||||
trait A<T> {
|
||||
fun foo(): T
|
||||
}
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
package test;
|
||||
|
||||
class Test {
|
||||
void test() {
|
||||
A<Integer> a = new B();
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
package test
|
||||
|
||||
trait A<T> {
|
||||
fun foo(): T
|
||||
}
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
package test;
|
||||
|
||||
class Test {
|
||||
void test() {
|
||||
A<Integer> a = new B();
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
package test
|
||||
|
||||
trait A<T> {
|
||||
fun foo(): T
|
||||
}
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
package test;
|
||||
|
||||
class Test extends B {
|
||||
void test() {
|
||||
int x = foo();
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
package test
|
||||
|
||||
trait A {
|
||||
fun foo(): Any
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
package test;
|
||||
|
||||
class Test extends B {
|
||||
void test() {
|
||||
A<Integer> a = new B();
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
package test
|
||||
|
||||
trait A<T> {
|
||||
fun foo(): T
|
||||
}
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
package test;
|
||||
|
||||
class ExtendsB extends B {
|
||||
void test() {
|
||||
int x = foo();
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
package test
|
||||
|
||||
trait A<T : Comparable<T>> {
|
||||
fun foo(): T
|
||||
}
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
package test;
|
||||
|
||||
class ExtendsB extends B {
|
||||
void test() {
|
||||
int x = foo();
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
package test
|
||||
|
||||
trait A<T : Number> {
|
||||
fun foo(): T
|
||||
}
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
package test;
|
||||
|
||||
class ExtendsB extends B {
|
||||
void test() {
|
||||
int x = foo();
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
package test
|
||||
|
||||
trait A<T> {
|
||||
fun foo(): T
|
||||
}
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
package test;
|
||||
|
||||
class ExtendsD extends D {
|
||||
void test() {
|
||||
int x = foo();
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
package test
|
||||
|
||||
trait A<T> {
|
||||
fun foo(): T
|
||||
}
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
package test;
|
||||
|
||||
class ExtendsB extends B {
|
||||
void test() {
|
||||
int x = foo();
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
package test
|
||||
|
||||
trait A<T> {
|
||||
fun foo(): T
|
||||
}
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
package test;
|
||||
|
||||
class ExtendsB extends B {
|
||||
@Override
|
||||
public Integer foo() {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
package test
|
||||
|
||||
trait A<T> {
|
||||
fun foo(): T
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user