fix tests in org.jetbrains.kotlin.checkers

This commit is contained in:
Michael Nedzelsky
2015-09-03 15:25:57 +03:00
parent a3f22939f1
commit bc5c9065d2
2821 changed files with 12932 additions and 12960 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
package test
internal fun assert(): kotlin.Unit
public fun assert(): kotlin.Unit
@@ -1,16 +1,16 @@
package test
internal final class B : test.X, test.Y {
public final class B : test.X, test.Y {
/*primary*/ public constructor B(/*0*/ a: test.X)
internal final val a: test.X
internal final fun <get-a>(): test.X
internal open override /*2*/ fun foo(): kotlin.Unit
public final val a: test.X
public final fun <get-a>(): test.X
public open override /*2*/ fun foo(): kotlin.Unit
}
internal interface X {
internal abstract fun foo(): kotlin.Unit
public interface X {
public abstract fun foo(): kotlin.Unit
}
internal interface Y : test.X {
internal abstract override /*1*/ /*fake_override*/ fun foo(): kotlin.Unit
public interface Y : test.X {
public abstract override /*1*/ /*fake_override*/ fun foo(): kotlin.Unit
}
@@ -1,26 +1,26 @@
package test
public interface Sub : test.Super1, test.Super2 {
internal abstract override /*2*/ /*fake_override*/ var x: kotlin.String
internal abstract override /*2*/ /*fake_override*/ fun <get-x>(): kotlin.String
internal abstract override /*1*/ /*fake_override*/ fun <set-x>(/*0*/ <set-?>: kotlin.String): kotlin.Unit
internal abstract override /*2*/ /*fake_override*/ var y: kotlin.String
internal abstract override /*2*/ /*fake_override*/ fun <get-y>(): kotlin.String
internal abstract override /*1*/ /*fake_override*/ fun <set-y>(/*0*/ <set-?>: kotlin.String): kotlin.Unit
public abstract override /*2*/ /*fake_override*/ var x: kotlin.String
public abstract override /*2*/ /*fake_override*/ fun <get-x>(): kotlin.String
public abstract override /*1*/ /*fake_override*/ fun <set-x>(/*0*/ <set-?>: kotlin.String): kotlin.Unit
public abstract override /*2*/ /*fake_override*/ var y: kotlin.String
public abstract override /*2*/ /*fake_override*/ fun <get-y>(): kotlin.String
public abstract override /*1*/ /*fake_override*/ fun <set-y>(/*0*/ <set-?>: kotlin.String): kotlin.Unit
}
public interface Super1 {
internal abstract val x: kotlin.String
internal abstract fun <get-x>(): kotlin.String
internal abstract var y: kotlin.String
internal abstract fun <get-y>(): kotlin.String
internal abstract fun <set-y>(/*0*/ <set-?>: kotlin.String): kotlin.Unit
public abstract val x: kotlin.String
public abstract fun <get-x>(): kotlin.String
public abstract var y: kotlin.String
public abstract fun <get-y>(): kotlin.String
public abstract fun <set-y>(/*0*/ <set-?>: kotlin.String): kotlin.Unit
}
public interface Super2 {
internal abstract var x: kotlin.String
internal abstract fun <get-x>(): kotlin.String
internal abstract fun <set-x>(/*0*/ <set-?>: kotlin.String): kotlin.Unit
internal abstract val y: kotlin.String
internal abstract fun <get-y>(): kotlin.String
public abstract var x: kotlin.String
public abstract fun <get-x>(): kotlin.String
public abstract fun <set-x>(/*0*/ <set-?>: kotlin.String): kotlin.Unit
public abstract val y: kotlin.String
public abstract fun <get-y>(): kotlin.String
}
@@ -1,22 +1,22 @@
package test
public interface Sub : test.Super1, test.Super2 {
internal abstract override /*2*/ /*fake_override*/ val x: kotlin.String
internal abstract override /*2*/ /*fake_override*/ fun <get-x>(): kotlin.String
internal abstract override /*2*/ /*fake_override*/ val y: kotlin.String
internal abstract override /*2*/ /*fake_override*/ fun <get-y>(): kotlin.String
public abstract override /*2*/ /*fake_override*/ val x: kotlin.String
public abstract override /*2*/ /*fake_override*/ fun <get-x>(): kotlin.String
public abstract override /*2*/ /*fake_override*/ val y: kotlin.String
public abstract override /*2*/ /*fake_override*/ fun <get-y>(): kotlin.String
}
public interface Super1 {
internal abstract val x: kotlin.String
internal abstract fun <get-x>(): kotlin.String
internal abstract val y: kotlin.CharSequence
internal abstract fun <get-y>(): kotlin.CharSequence
public abstract val x: kotlin.String
public abstract fun <get-x>(): kotlin.String
public abstract val y: kotlin.CharSequence
public abstract fun <get-y>(): kotlin.CharSequence
}
public interface Super2 {
internal abstract val x: kotlin.CharSequence
internal abstract fun <get-x>(): kotlin.CharSequence
internal abstract val y: kotlin.String
internal abstract fun <get-y>(): kotlin.String
public abstract val x: kotlin.CharSequence
public abstract fun <get-x>(): kotlin.CharSequence
public abstract val y: kotlin.String
public abstract fun <get-y>(): kotlin.String
}
@@ -1,7 +1,7 @@
package test
internal fun foo(/*0*/ r: java.lang.Runnable): kotlin.Unit
public fun foo(/*0*/ r: java.lang.Runnable): kotlin.Unit
public interface TaskObject {
internal abstract fun foo(/*0*/ r: java.lang.Runnable): kotlin.Unit
public abstract fun foo(/*0*/ r: java.lang.Runnable): kotlin.Unit
}
@@ -1,5 +1,5 @@
package test
public interface Runnable {
internal abstract fun run(): kotlin.Unit
public abstract fun run(): kotlin.Unit
}
@@ -1,18 +1,18 @@
package test
internal interface A {
internal open fun bar(): kotlin.Unit
internal open fun foo(): kotlin.Unit
public interface A {
public open fun bar(): kotlin.Unit
public open fun foo(): kotlin.Unit
}
internal open class B : test.A {
public open class B : test.A {
/*primary*/ public constructor B()
internal open override /*1*/ /*fake_override*/ fun bar(): kotlin.Unit
internal open override /*1*/ /*fake_override*/ fun foo(): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun bar(): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun foo(): kotlin.Unit
}
internal final class C : test.B {
public final class C : test.B {
/*primary*/ public constructor C()
internal open override /*1*/ fun bar(): kotlin.Unit
internal open override /*1*/ /*fake_override*/ fun foo(): kotlin.Unit
public open override /*1*/ fun bar(): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun foo(): kotlin.Unit
}
@@ -1,6 +1,6 @@
package test
internal final class PropagateSubclassOfComparable : kotlin.Comparable<test.PropagateSubclassOfComparable> {
public final class PropagateSubclassOfComparable : kotlin.Comparable<test.PropagateSubclassOfComparable> {
/*primary*/ public constructor PropagateSubclassOfComparable()
public open override /*1*/ fun compareTo(/*0*/ other: test.PropagateSubclassOfComparable): kotlin.Int
}
@@ -1,3 +1,3 @@
package test
internal fun </*0*/ T> f(): kotlin.Int
public fun </*0*/ T> f(): kotlin.Int
@@ -1,3 +1,3 @@
package test
internal fun </*0*/ P> funParamParam(/*0*/ a: kotlin.Int, /*1*/ b: P): kotlin.Int
public fun </*0*/ P> funParamParam(/*0*/ a: kotlin.Int, /*1*/ b: P): kotlin.Int
@@ -1,3 +1,3 @@
package test
internal fun </*0*/ P> funParamParam(/*0*/ a: kotlin.Int, /*1*/ b: P): kotlin.Int
public fun </*0*/ P> funParamParam(/*0*/ a: kotlin.Int, /*1*/ b: P): kotlin.Int
@@ -1,3 +1,3 @@
package test
internal fun </*0*/ P, /*1*/ Q : P> funParamReferencesParam(): kotlin.Int
public fun </*0*/ P, /*1*/ Q : P> funParamReferencesParam(): kotlin.Int
@@ -1,9 +1,9 @@
package test
internal fun </*0*/ T : test.Foo> foo(): kotlin.Unit where T : test.Bar
public fun </*0*/ T : test.Foo> foo(): kotlin.Unit where T : test.Bar
internal interface Bar {
public interface Bar {
}
internal interface Foo {
public interface Foo {
}
@@ -1,3 +1,3 @@
package test
internal fun </*0*/ A : java.lang.Number> uno(): kotlin.Int
public fun </*0*/ A : java.lang.Number> uno(): kotlin.Int
@@ -1,3 +1,3 @@
package test
internal fun </*0*/ A : java.lang.Number> tres(): kotlin.Int where A : java.io.Serializable
public fun </*0*/ A : java.lang.Number> tres(): kotlin.Int where A : java.io.Serializable
@@ -1,3 +1,3 @@
package test
internal fun </*0*/ A : java.io.Serializable> dos(): kotlin.Int
public fun </*0*/ A : java.io.Serializable> dos(): kotlin.Int
@@ -1,3 +1,3 @@
package test
internal fun </*0*/ P> funParamVarargParam(/*0*/ a: kotlin.Int, /*1*/ vararg b: P /*kotlin.Array<out P>*/): kotlin.Int
public fun </*0*/ P> funParamVarargParam(/*0*/ a: kotlin.Int, /*1*/ vararg b: P /*kotlin.Array<out P>*/): kotlin.Int
@@ -1,3 +1,3 @@
package test
internal fun </*0*/ P, /*1*/ Q> funTwoTypeParams(): kotlin.Int
public fun </*0*/ P, /*1*/ Q> funTwoTypeParams(): kotlin.Int
@@ -1,3 +1,3 @@
package test
internal fun ff(/*0*/ p: kotlin.List<kotlin.CharSequence>): kotlin.Int
public fun ff(/*0*/ p: kotlin.List<kotlin.CharSequence>): kotlin.Int
@@ -1,3 +1,3 @@
package test
internal fun ff(/*0*/ p: kotlin.List<java.lang.CharSequence?>): kotlin.Int
public fun ff(/*0*/ p: kotlin.List<java.lang.CharSequence?>): kotlin.Int
@@ -1,3 +1,3 @@
package test
internal fun fff(/*0*/ a: java.lang.Integer?): kotlin.Int
public fun fff(/*0*/ a: java.lang.Integer?): kotlin.Int
@@ -1,3 +1,3 @@
package test
internal fun ffgg(): kotlin.List<kotlin.CharSequence>
public fun ffgg(): kotlin.List<kotlin.CharSequence>
@@ -1,3 +1,3 @@
package test
internal fun ffgg(): kotlin.List<kotlin.CharSequence?>
public fun ffgg(): kotlin.List<kotlin.CharSequence?>
@@ -1,6 +1,6 @@
package test
internal final class River {
public final class River {
/*primary*/ public constructor River()
internal final fun song(): kotlin.Int
public final fun song(): kotlin.Int
}
@@ -1,6 +1,6 @@
package test
internal final class ClassFunGetFoo {
public final class ClassFunGetFoo {
/*primary*/ public constructor ClassFunGetFoo()
internal final fun getFoo(): kotlin.Int
public final fun getFoo(): kotlin.Int
}
@@ -1,7 +1,7 @@
package test
internal final class ClassFunGetFoo {
public final class ClassFunGetFoo {
/*primary*/ public constructor ClassFunGetFoo()
internal final fun getFoo(): kotlin.Int
internal final fun setFoo(/*0*/ p: kotlin.Int): kotlin.Unit
public final fun getFoo(): kotlin.Int
public final fun setFoo(/*0*/ p: kotlin.Int): kotlin.Unit
}
@@ -1,6 +1,6 @@
package test
internal final class ClassFunGetFoo {
public final class ClassFunGetFoo {
/*primary*/ public constructor ClassFunGetFoo()
internal final fun set(/*0*/ p: kotlin.Int): kotlin.Unit
public final fun set(/*0*/ p: kotlin.Int): kotlin.Unit
}
@@ -1,3 +1,3 @@
package test
internal fun kotlin.Int.shuffle(): kotlin.Int
public fun kotlin.Int.shuffle(): kotlin.Int
@@ -1,6 +1,6 @@
package test
internal final class ExtFunInClass {
public final class ExtFunInClass {
/*primary*/ public constructor ExtFunInClass()
internal final fun kotlin.Int.shuffle(): kotlin.Int
public final fun kotlin.Int.shuffle(): kotlin.Int
}
@@ -1,3 +1,3 @@
package test
internal fun funDefaultArg(/*0*/ p: kotlin.Int, /*1*/ q: kotlin.Int = ..., /*2*/ r: kotlin.Int = ...): kotlin.Int
public fun funDefaultArg(/*0*/ p: kotlin.Int, /*1*/ q: kotlin.Int = ..., /*2*/ r: kotlin.Int = ...): kotlin.Int
@@ -1,3 +1,3 @@
package test
internal fun fff(/*0*/ a: java.lang.Integer): kotlin.Int
public fun fff(/*0*/ a: java.lang.Integer): kotlin.Int
@@ -1,3 +1,3 @@
package test
internal fun varargInt(/*0*/ a: kotlin.Int, /*1*/ vararg b: kotlin.Int /*kotlin.IntArray*/): kotlin.Int
public fun varargInt(/*0*/ a: kotlin.Int, /*1*/ vararg b: kotlin.Int /*kotlin.IntArray*/): kotlin.Int
@@ -1,3 +1,3 @@
package test
internal fun varargCharSequence(/*0*/ a: kotlin.Int, /*1*/ vararg b: java.lang.Integer /*kotlin.Array<out java.lang.Integer>*/): kotlin.Int
public fun varargCharSequence(/*0*/ a: kotlin.Int, /*1*/ vararg b: java.lang.Integer /*kotlin.Array<out java.lang.Integer>*/): kotlin.Int
@@ -1,6 +1,6 @@
package test
internal abstract class ModifierAbstract {
public abstract class ModifierAbstract {
/*primary*/ public constructor ModifierAbstract()
internal abstract fun abs(): kotlin.Int
public abstract fun abs(): kotlin.Int
}
@@ -1,6 +1,6 @@
package test
internal open class ModifierOpen {
public open class ModifierOpen {
/*primary*/ public constructor ModifierOpen()
internal open fun abs(): kotlin.Int
public open fun abs(): kotlin.Int
}
@@ -1,3 +1,3 @@
package test
internal fun f(): kotlin.Int
public fun f(): kotlin.Int
@@ -1,3 +1,3 @@
package test
internal fun getFoo(): kotlin.Int
public fun getFoo(): kotlin.Int
@@ -1,3 +1,3 @@
package test
internal fun ff(): java.lang.Integer
public fun ff(): java.lang.Integer
@@ -1,3 +1,3 @@
package test
internal fun ff(): java.lang.Integer?
public fun ff(): java.lang.Integer?
@@ -1,4 +1,4 @@
package test
internal fun f(/*0*/ vararg t: kotlin.String /*kotlin.Array<out kotlin.String>*/, /*1*/ f: () -> kotlin.Unit): kotlin.Unit
internal fun f(/*0*/ vararg t: kotlin.Int /*kotlin.IntArray*/, /*1*/ f: () -> kotlin.Unit): kotlin.Unit
public fun f(/*0*/ vararg t: kotlin.String /*kotlin.Array<out kotlin.String>*/, /*1*/ f: () -> kotlin.Unit): kotlin.Unit
public fun f(/*0*/ vararg t: kotlin.Int /*kotlin.IntArray*/, /*1*/ f: () -> kotlin.Unit): kotlin.Unit