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,3 +1,3 @@
package
internal fun ff(): kotlin.Unit
public fun ff(): kotlin.Unit
@@ -1,6 +1,6 @@
package
internal fun b(): kotlin.Boolean
internal fun foo1(): [ERROR : Error function type]
internal fun foo2(): [ERROR : Error function type]
internal fun foo3(): kotlin.Int
public fun b(): kotlin.Boolean
public fun foo1(): [ERROR : Error function type]
public fun foo2(): [ERROR : Error function type]
public fun foo3(): kotlin.Int
@@ -1,11 +1,11 @@
package
internal fun </*0*/ T : Tr> fn(/*0*/ t1: T, /*1*/ t2: T?): kotlin.Unit
internal fun </*0*/ T : kotlin.Any> fn(/*0*/ t1: T, /*1*/ t2: T?): kotlin.Unit
public fun </*0*/ T : Tr> fn(/*0*/ t1: T, /*1*/ t2: T?): kotlin.Unit
public fun </*0*/ T : kotlin.Any> fn(/*0*/ t1: T, /*1*/ t2: T?): kotlin.Unit
internal interface Tr {
public interface Tr {
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
internal abstract fun foo(): kotlin.Unit
public abstract fun foo(): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
@@ -1,4 +1,4 @@
package
internal fun foo(/*0*/ x: kotlin.Unit): kotlin.Unit
internal fun test(): kotlin.Unit
public fun foo(/*0*/ x: kotlin.Unit): kotlin.Unit
public fun test(): kotlin.Unit
@@ -1,20 +1,20 @@
package
internal fun test(/*0*/ c: Coll?): kotlin.Unit
public fun test(/*0*/ c: Coll?): kotlin.Unit
internal final class Coll {
public final class Coll {
public constructor Coll()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
internal final fun iterator(): It
public final fun iterator(): It
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
internal final class It {
public final class It {
public constructor It()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
internal final fun hasNext(): kotlin.Boolean
public final fun hasNext(): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
internal final fun next(): kotlin.Int
public final fun next(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
@@ -1,20 +1,20 @@
package
internal fun test(): kotlin.Unit
public fun test(): kotlin.Unit
internal final class Coll {
public final class Coll {
public constructor Coll()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
internal final fun iterator(): It?
public final fun iterator(): It?
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
internal final class It {
public final class It {
public constructor It()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
internal final fun hasNext(): kotlin.Boolean
public final fun hasNext(): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
internal final fun next(): kotlin.Int
public final fun next(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
@@ -1,5 +1,5 @@
package
internal fun call(/*0*/ f: () -> kotlin.Unit): kotlin.Unit
internal fun f1(): kotlin.Unit
internal fun f2(): kotlin.Unit
public fun call(/*0*/ f: () -> kotlin.Unit): kotlin.Unit
public fun f1(): kotlin.Unit
public fun f2(): kotlin.Unit
@@ -1,5 +1,5 @@
package
package kt1075 {
internal fun foo(/*0*/ b: kotlin.String): kotlin.Unit
public fun foo(/*0*/ b: kotlin.String): kotlin.Unit
}
@@ -1,5 +1,5 @@
package
package f {
internal fun test(/*0*/ a: kotlin.Boolean, /*1*/ b: kotlin.Boolean): kotlin.Int
public fun test(/*0*/ a: kotlin.Boolean, /*1*/ b: kotlin.Boolean): kotlin.Int
}
@@ -1,11 +1,11 @@
package
package kt657 {
internal fun cond1(): kotlin.Boolean
internal fun cond2(): kotlin.Boolean
internal fun foo(): kotlin.Int
public fun cond1(): kotlin.Boolean
public fun cond2(): kotlin.Boolean
public fun foo(): kotlin.Int
internal final class Pair</*0*/ A, /*1*/ B> {
public final class Pair</*0*/ A, /*1*/ B> {
public constructor Pair</*0*/ A, /*1*/ B>(/*0*/ a: A, /*1*/ b: B)
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
@@ -1,16 +1,16 @@
package
package kt770_351_735 {
internal val w: [ERROR : Type for while (true) {}]
internal fun bar(/*0*/ a: kotlin.Unit): kotlin.Unit
internal fun box(): kotlin.Int
internal fun doSmth(/*0*/ i: kotlin.Int): kotlin.Unit
internal fun foo(): kotlin.Unit
internal fun main(/*0*/ args: kotlin.Array<kotlin.String>): kotlin.Unit
internal fun test1(): kotlin.Unit
internal fun test2(): kotlin.Unit
internal fun testCoercionToUnit(): kotlin.Unit
internal fun testImplicitCoercion(): kotlin.Unit
internal fun testStatementInExpressionContext(): kotlin.Unit
internal fun testStatementInExpressionContext2(): kotlin.Unit
public val w: [ERROR : Type for while (true) {}]
public fun bar(/*0*/ a: kotlin.Unit): kotlin.Unit
public fun box(): kotlin.Int
public fun doSmth(/*0*/ i: kotlin.Int): kotlin.Unit
public fun foo(): kotlin.Unit
public fun main(/*0*/ args: kotlin.Array<kotlin.String>): kotlin.Unit
public fun test1(): kotlin.Unit
public fun test2(): kotlin.Unit
public fun testCoercionToUnit(): kotlin.Unit
public fun testImplicitCoercion(): kotlin.Unit
public fun testStatementInExpressionContext(): kotlin.Unit
public fun testStatementInExpressionContext2(): kotlin.Unit
}
@@ -1,7 +1,7 @@
package
package kt786 {
internal fun bar(): kotlin.Int
internal fun fff(): kotlin.Int
internal fun foo(): kotlin.Int
public fun bar(): kotlin.Int
public fun fff(): kotlin.Int
public fun foo(): kotlin.Int
}
@@ -1,10 +1,10 @@
package
package kt799 {
internal val a: kotlin.Nothing
internal val b: [ERROR : Return not allowed]
internal val c: kotlin.Unit
internal fun doSmth(/*0*/ i: kotlin.Int): kotlin.Unit
internal fun f(/*0*/ mi: kotlin.Int = ...): kotlin.Unit
internal fun test(): kotlin.Unit
public val a: kotlin.Nothing
public val b: [ERROR : Return not allowed]
public val c: kotlin.Unit
public fun doSmth(/*0*/ i: kotlin.Int): kotlin.Unit
public fun f(/*0*/ mi: kotlin.Int = ...): kotlin.Unit
public fun test(): kotlin.Unit
}
@@ -1,4 +1,4 @@
package
internal fun test(): kotlin.Unit
internal fun use(/*0*/ a: kotlin.Any?): kotlin.Any?
public fun test(): kotlin.Unit
public fun use(/*0*/ a: kotlin.Any?): kotlin.Any?
@@ -1,7 +1,7 @@
package
package a {
internal fun bar(): kotlin.Int
internal fun doSmth(): kotlin.Unit
internal fun foo(): kotlin.Int
public fun bar(): kotlin.Int
public fun doSmth(): kotlin.Unit
public fun foo(): kotlin.Int
}
@@ -1,7 +1,7 @@
package
internal fun </*0*/ T : kotlin.Any> exclExcl(/*0*/ t: T?): T
internal fun test11(): kotlin.Unit
public fun </*0*/ T : kotlin.Any> exclExcl(/*0*/ t: T?): T
public fun test11(): kotlin.Unit
public open class A {
public constructor A()
@@ -1,3 +1,3 @@
package
internal fun f(): kotlin.Unit
public fun f(): kotlin.Unit
@@ -1,3 +1,3 @@
package
internal fun f(): kotlin.Unit
public fun f(): kotlin.Unit
@@ -1,14 +1,14 @@
package
package kt234_kt973 {
internal fun foo3(/*0*/ x: kotlin.Int): kotlin.Int
internal fun foo4(/*0*/ x: kotlin.Int): kotlin.Int
internal fun t1(/*0*/ x: kotlin.Int): kotlin.Int
internal fun t5(/*0*/ x: kotlin.Int): kotlin.Int
internal fun test(/*0*/ t: kt234_kt973.Pair<kotlin.Int, kotlin.Int>): kotlin.Int
internal fun test1(/*0*/ t: kt234_kt973.Pair<kotlin.Int, kotlin.Int>): kotlin.Int
public fun foo3(/*0*/ x: kotlin.Int): kotlin.Int
public fun foo4(/*0*/ x: kotlin.Int): kotlin.Int
public fun t1(/*0*/ x: kotlin.Int): kotlin.Int
public fun t5(/*0*/ x: kotlin.Int): kotlin.Int
public fun test(/*0*/ t: kt234_kt973.Pair<kotlin.Int, kotlin.Int>): kotlin.Int
public fun test1(/*0*/ t: kt234_kt973.Pair<kotlin.Int, kotlin.Int>): kotlin.Int
internal final class Pair</*0*/ A, /*1*/ B> {
public final class Pair</*0*/ A, /*1*/ B> {
public constructor Pair</*0*/ A, /*1*/ B>(/*0*/ a: A, /*1*/ b: B)
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int