fix tests in org.jetbrains.kotlin.checkers
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
package
|
||||
|
||||
internal fun bar(/*0*/ s: kotlin.String): kotlin.String
|
||||
internal fun test(): kotlin.Unit
|
||||
public fun bar(/*0*/ s: kotlin.String): kotlin.String
|
||||
public fun test(): kotlin.Unit
|
||||
|
||||
+10
-10
@@ -1,17 +1,17 @@
|
||||
package
|
||||
|
||||
package a {
|
||||
internal fun doInt(/*0*/ i: kotlin.Int): kotlin.Int
|
||||
internal fun doList(/*0*/ l: kotlin.List<kotlin.Int>): kotlin.List<kotlin.Int>
|
||||
internal fun </*0*/ T : a.A> emptyListOfA(): kotlin.List<T>
|
||||
internal fun getList(): kotlin.List<kotlin.Int>?
|
||||
internal fun </*0*/ T> strangeList(/*0*/ f: (T) -> kotlin.Unit): kotlin.List<T>
|
||||
internal fun testDataFlowInfo1(/*0*/ a: kotlin.Int?, /*1*/ b: kotlin.Int?): kotlin.Unit
|
||||
internal fun testDataFlowInfo2(/*0*/ a: kotlin.Int?, /*1*/ b: kotlin.Int?): kotlin.Unit
|
||||
internal fun testElvis(/*0*/ a: kotlin.Int?, /*1*/ b: kotlin.Int?): kotlin.Unit
|
||||
internal fun testTypeMismatch(/*0*/ a: kotlin.String?, /*1*/ b: kotlin.Any): kotlin.Unit
|
||||
public fun doInt(/*0*/ i: kotlin.Int): kotlin.Int
|
||||
public fun doList(/*0*/ l: kotlin.List<kotlin.Int>): kotlin.List<kotlin.Int>
|
||||
public fun </*0*/ T : a.A> emptyListOfA(): kotlin.List<T>
|
||||
public fun getList(): kotlin.List<kotlin.Int>?
|
||||
public fun </*0*/ T> strangeList(/*0*/ f: (T) -> kotlin.Unit): kotlin.List<T>
|
||||
public fun testDataFlowInfo1(/*0*/ a: kotlin.Int?, /*1*/ b: kotlin.Int?): kotlin.Unit
|
||||
public fun testDataFlowInfo2(/*0*/ a: kotlin.Int?, /*1*/ b: kotlin.Int?): kotlin.Unit
|
||||
public fun testElvis(/*0*/ a: kotlin.Int?, /*1*/ b: kotlin.Int?): kotlin.Unit
|
||||
public fun testTypeMismatch(/*0*/ a: kotlin.String?, /*1*/ b: kotlin.Any): kotlin.Unit
|
||||
|
||||
internal interface A {
|
||||
public interface A {
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
+9
-9
@@ -1,16 +1,16 @@
|
||||
package
|
||||
|
||||
package a {
|
||||
internal fun doInt(/*0*/ i: kotlin.Int): kotlin.Int
|
||||
internal fun doList(/*0*/ l: kotlin.List<kotlin.Int>): kotlin.List<kotlin.Int>
|
||||
internal fun </*0*/ T : a.A> emptyNullableListOfA(): kotlin.List<T>?
|
||||
internal fun </*0*/ T> id(/*0*/ t: T): T
|
||||
internal fun </*0*/ T> strangeNullableList(/*0*/ f: (T) -> kotlin.Unit): kotlin.List<T>?
|
||||
internal fun testDataFlowInfoAfterExclExcl(/*0*/ a: kotlin.Int?): kotlin.Unit
|
||||
internal fun testExclExcl(): kotlin.Unit
|
||||
internal fun testUnnecessaryExclExcl(/*0*/ a: kotlin.Int): kotlin.Unit
|
||||
public fun doInt(/*0*/ i: kotlin.Int): kotlin.Int
|
||||
public fun doList(/*0*/ l: kotlin.List<kotlin.Int>): kotlin.List<kotlin.Int>
|
||||
public fun </*0*/ T : a.A> emptyNullableListOfA(): kotlin.List<T>?
|
||||
public fun </*0*/ T> id(/*0*/ t: T): T
|
||||
public fun </*0*/ T> strangeNullableList(/*0*/ f: (T) -> kotlin.Unit): kotlin.List<T>?
|
||||
public fun testDataFlowInfoAfterExclExcl(/*0*/ a: kotlin.Int?): kotlin.Unit
|
||||
public fun testExclExcl(): kotlin.Unit
|
||||
public fun testUnnecessaryExclExcl(/*0*/ a: kotlin.Int): kotlin.Unit
|
||||
|
||||
internal interface A {
|
||||
public interface A {
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
+6
-6
@@ -1,32 +1,32 @@
|
||||
package
|
||||
|
||||
internal fun foo(/*0*/ c: C?, /*1*/ d: D?, /*2*/ e: E?): kotlin.Unit
|
||||
public fun foo(/*0*/ c: C?, /*1*/ d: D?, /*2*/ e: E?): kotlin.Unit
|
||||
|
||||
internal interface A {
|
||||
public interface A {
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
internal interface B {
|
||||
public interface 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
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
internal interface C : A, B {
|
||||
public interface C : A, B {
|
||||
public open override /*2*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*2*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*2*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
internal interface D : A, B {
|
||||
public interface D : A, B {
|
||||
public open override /*2*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*2*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*2*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
internal interface E : A, B {
|
||||
public interface E : A, B {
|
||||
public open override /*2*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*2*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*2*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
+5
-5
@@ -1,9 +1,9 @@
|
||||
package
|
||||
|
||||
package b {
|
||||
internal fun bar(/*0*/ i: kotlin.Int): kotlin.Int
|
||||
internal fun test(/*0*/ a: kotlin.Any?, /*1*/ b: kotlin.Any?, /*2*/ c: kotlin.Int?): kotlin.Unit
|
||||
internal fun test(/*0*/ a: kotlin.Int?, /*1*/ b: kotlin.Any?, /*2*/ c: kotlin.Int?): kotlin.Unit
|
||||
internal fun test(/*0*/ a: kotlin.Int?, /*1*/ b: kotlin.Int?): kotlin.Unit
|
||||
internal fun test(/*0*/ a: kotlin.Int?, /*1*/ b: kotlin.Int?, /*2*/ c: kotlin.Int?): kotlin.Unit
|
||||
public fun bar(/*0*/ i: kotlin.Int): kotlin.Int
|
||||
public fun test(/*0*/ a: kotlin.Any?, /*1*/ b: kotlin.Any?, /*2*/ c: kotlin.Int?): kotlin.Unit
|
||||
public fun test(/*0*/ a: kotlin.Int?, /*1*/ b: kotlin.Any?, /*2*/ c: kotlin.Int?): kotlin.Unit
|
||||
public fun test(/*0*/ a: kotlin.Int?, /*1*/ b: kotlin.Int?): kotlin.Unit
|
||||
public fun test(/*0*/ a: kotlin.Int?, /*1*/ b: kotlin.Int?, /*2*/ c: kotlin.Int?): kotlin.Unit
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user