Check compileJavaAgainstKotlin tests with .txt files
This commit is contained in:
Vendored
+27
@@ -0,0 +1,27 @@
|
||||
package test
|
||||
|
||||
internal interface A</*0*/ T> {
|
||||
internal abstract fun foo(): T
|
||||
}
|
||||
|
||||
internal open class B : test.A<kotlin.Byte> {
|
||||
public constructor B()
|
||||
internal open fun foo(): kotlin.Byte
|
||||
}
|
||||
|
||||
internal abstract class C : test.A<kotlin.Byte> {
|
||||
public constructor C()
|
||||
internal abstract /*fake_override*/ fun foo(): kotlin.Byte
|
||||
}
|
||||
|
||||
public/*package*/ open class ExtendsB : test.B {
|
||||
public/*package*/ constructor ExtendsB()
|
||||
internal open /*fake_override*/ fun foo(): kotlin.Byte
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
|
||||
public/*package*/ open class ExtendsC : test.C {
|
||||
public/*package*/ constructor ExtendsC()
|
||||
public open fun foo(): kotlin.Byte!
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
package test
|
||||
|
||||
internal interface A</*0*/ T> {
|
||||
internal abstract fun foo(): T
|
||||
}
|
||||
|
||||
internal final class B : test.A<kotlin.Int> {
|
||||
public constructor B()
|
||||
internal final fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
public/*package*/ open class Test {
|
||||
public/*package*/ constructor Test()
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
package test
|
||||
|
||||
internal interface A</*0*/ T> {
|
||||
internal abstract fun foo(): T
|
||||
}
|
||||
|
||||
internal final class B : test.A<kotlin.Int> {
|
||||
public constructor B()
|
||||
internal open fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
public/*package*/ open class Test {
|
||||
public/*package*/ constructor Test()
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
package test
|
||||
|
||||
internal interface A {
|
||||
internal abstract fun foo(): kotlin.Any
|
||||
}
|
||||
|
||||
internal open class B : test.A {
|
||||
public constructor B()
|
||||
internal open fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
public/*package*/ open class Test : test.B {
|
||||
public/*package*/ constructor Test()
|
||||
internal open /*fake_override*/ fun foo(): kotlin.Int
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
package test
|
||||
|
||||
internal interface A</*0*/ T> {
|
||||
internal abstract fun foo(): T
|
||||
}
|
||||
|
||||
internal open class B : test.A<kotlin.Int> {
|
||||
public constructor B()
|
||||
internal final fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
public/*package*/ open class Test : test.B {
|
||||
public/*package*/ constructor Test()
|
||||
internal final /*fake_override*/ fun foo(): kotlin.Int
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
Vendored
+27
@@ -0,0 +1,27 @@
|
||||
package test
|
||||
|
||||
internal interface A</*0*/ T : kotlin.Comparable<T>> {
|
||||
internal abstract fun foo(): T
|
||||
}
|
||||
|
||||
internal open class B : test.A<kotlin.Int> {
|
||||
public constructor B()
|
||||
internal open fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
internal abstract class C : test.A<kotlin.Int> {
|
||||
public constructor C()
|
||||
internal abstract /*fake_override*/ fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
public/*package*/ open class ExtendsB : test.B {
|
||||
public/*package*/ constructor ExtendsB()
|
||||
internal open /*fake_override*/ fun foo(): kotlin.Int
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
|
||||
public/*package*/ open class ExtendsC : test.C {
|
||||
public/*package*/ constructor ExtendsC()
|
||||
public open fun foo(): kotlin.Int!
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
package test
|
||||
|
||||
internal interface A</*0*/ T : kotlin.Number> {
|
||||
internal abstract fun foo(): T
|
||||
}
|
||||
|
||||
internal open class B : test.A<kotlin.Int> {
|
||||
public constructor B()
|
||||
internal open fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
internal abstract class C : test.A<kotlin.Int> {
|
||||
public constructor C()
|
||||
internal abstract /*fake_override*/ fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
public/*package*/ open class ExtendsB : test.B {
|
||||
public/*package*/ constructor ExtendsB()
|
||||
internal open /*fake_override*/ fun foo(): kotlin.Int
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
|
||||
public/*package*/ open class ExtendsC : test.C {
|
||||
public/*package*/ constructor ExtendsC()
|
||||
public open fun foo(): kotlin.Int!
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
package test
|
||||
|
||||
internal interface A</*0*/ T> {
|
||||
internal abstract fun foo(): T
|
||||
}
|
||||
|
||||
internal open class B : test.A<kotlin.Int> {
|
||||
public constructor B()
|
||||
internal open fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
internal abstract class C : test.A<kotlin.Int> {
|
||||
public constructor C()
|
||||
internal abstract /*fake_override*/ fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
public/*package*/ open class ExtendsB : test.B {
|
||||
public/*package*/ constructor ExtendsB()
|
||||
internal open /*fake_override*/ fun foo(): kotlin.Int
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
|
||||
public/*package*/ open class ExtendsC : test.C {
|
||||
public/*package*/ constructor ExtendsC()
|
||||
public open fun foo(): kotlin.Int!
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
Vendored
+25
@@ -0,0 +1,25 @@
|
||||
package test
|
||||
|
||||
internal interface A</*0*/ T> {
|
||||
internal abstract fun foo(): T
|
||||
}
|
||||
|
||||
internal interface B : test.A<kotlin.Int> {
|
||||
internal abstract /*fake_override*/ fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
internal abstract class C : test.B {
|
||||
public constructor C()
|
||||
internal abstract /*fake_override*/ fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
internal open class D : test.C {
|
||||
public constructor D()
|
||||
internal open fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
public/*package*/ open class ExtendsD : test.D {
|
||||
public/*package*/ constructor ExtendsD()
|
||||
internal open /*fake_override*/ fun foo(): kotlin.Int
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
Vendored
+27
@@ -0,0 +1,27 @@
|
||||
package test
|
||||
|
||||
internal interface A</*0*/ T> {
|
||||
internal abstract fun foo(): T
|
||||
}
|
||||
|
||||
internal open class B : test.A<kotlin.Int?> {
|
||||
public constructor B()
|
||||
internal open fun foo(): kotlin.Int?
|
||||
}
|
||||
|
||||
internal abstract class C : test.A<kotlin.Int?> {
|
||||
public constructor C()
|
||||
internal abstract /*fake_override*/ fun foo(): kotlin.Int?
|
||||
}
|
||||
|
||||
public/*package*/ open class ExtendsB : test.B {
|
||||
public/*package*/ constructor ExtendsB()
|
||||
internal open /*fake_override*/ fun foo(): kotlin.Int?
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
|
||||
public/*package*/ open class ExtendsC : test.C {
|
||||
public/*package*/ constructor ExtendsC()
|
||||
public open fun foo(): kotlin.Int!
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
package test
|
||||
|
||||
internal interface A</*0*/ T> {
|
||||
internal abstract fun foo(): T
|
||||
}
|
||||
|
||||
internal abstract class B : test.A<kotlin.Int> {
|
||||
public constructor B()
|
||||
internal abstract fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
public/*package*/ open class ExtendsB : test.B {
|
||||
public/*package*/ constructor ExtendsB()
|
||||
public open fun foo(): kotlin.Int!
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
Reference in New Issue
Block a user