Moved javaAgainstKotlin cases to generated test.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
public open class Base : java.lang.Object {
|
||||
public constructor Base()
|
||||
public/*package*/ open fun foo() : Unit
|
||||
}
|
||||
|
||||
internal final class Derived : test.Base {
|
||||
public constructor Derived()
|
||||
internal open override /*1*/ fun foo() : Unit
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package test;
|
||||
|
||||
public class Base {
|
||||
void foo() {}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
class Derived(): Base() {
|
||||
override fun foo() {}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
public open class Base : java.lang.Object {
|
||||
public constructor Base()
|
||||
protected/*protected and package*/ open fun foo() : Unit
|
||||
}
|
||||
|
||||
internal final class Derived : test.Base {
|
||||
public constructor Derived()
|
||||
protected open override /*1*/ fun foo() : Unit
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package test;
|
||||
|
||||
public class Base {
|
||||
protected void foo() {}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
class Derived(): Base() {
|
||||
override fun foo() {}
|
||||
}
|
||||
Reference in New Issue
Block a user