[FE 1.0] Update test data with new error type representation

This commit is contained in:
Victor Petukhov
2022-03-17 13:34:01 +04:00
committed by teamcity
parent b5933c70e2
commit 27fa632630
285 changed files with 777 additions and 744 deletions
@@ -6,7 +6,7 @@ public final class Foo {
public constructor Foo()
public final fun bar(): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public final fun f(): [ERROR : Error function type]
public final fun f(): [Error type: Return type for function cannot be resolved]
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
@@ -24,10 +24,10 @@ package test {
public final fun </*0*/ T> kotlin.collections.List<T>.testClassLiteral1(): kotlin.reflect.KClass<out kotlin.Int>
public final fun </*0*/ T> kotlin.collections.List<T>.testClassLiteral2(): kotlin.reflect.KClass<out kotlin.Int?>
public final fun </*0*/ T> kotlin.collections.List<T>.testClassLiteral3(): kotlin.reflect.KClass<out kotlin.Int?>
public final fun </*0*/ T> kotlin.collections.List<T>.testUnresolved1(): [ERROR : Error function type]
public final fun </*0*/ T> kotlin.collections.List<T>.testUnresolved1(): [Error type: Return type for function cannot be resolved]
public final fun </*0*/ T> kotlin.collections.List<T>.testUnresolved2(): kotlin.reflect.KFunction0<kotlin.Unit>
public final fun </*0*/ T> kotlin.collections.List<T>.testUnresolved3(): kotlin.reflect.KFunction0<kotlin.Unit>
public final fun </*0*/ T> kotlin.collections.List<T>.testUnresolved4(): [ERROR : Error function type]
public final fun </*0*/ T> kotlin.collections.List<T>.testUnresolved4(): [Error type: Return type for function cannot be resolved]
}
public final class a</*0*/ T> {
@@ -1,7 +1,7 @@
// -- Module: <m1> --
package
public fun </*0*/ T> bar(/*0*/ ff: [ERROR : Err].() -> kotlin.Unit): kotlin.Unit
public fun </*0*/ T> bar(/*0*/ ff: [Error type: Unresolved type for Err].() -> kotlin.Unit): kotlin.Unit
// -- Module: <m2> --
package
@@ -1,7 +1,7 @@
package
public val f: kotlin.reflect.KFunction1<test.Foo, kotlin.Unit>
public val g: [ERROR : Type for Foo::length]
public val g: [Error type: Not found recorded type for Foo::length]
public fun Foo(): kotlin.String
package test {
@@ -1,15 +1,15 @@
package
public fun </*0*/ U : kotlin.Any> bar(): [ERROR : Error function type]
public fun </*0*/ T> foo(): [ERROR : Error function type]
public fun </*0*/ U : kotlin.Any> bar(): [Error type: Return type for function cannot be resolved]
public fun </*0*/ T> foo(): [Error type: Return type for function cannot be resolved]
public fun take(/*0*/ arg: kotlin.Any): kotlin.Unit
public final class A</*0*/ T, /*1*/ U : kotlin.Any> {
public constructor A</*0*/ T, /*1*/ U : kotlin.Any>()
public final fun bar(): [ERROR : Error function type]
public final fun bar(): [Error type: Return type for function cannot be resolved]
public final fun baz(): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public final fun foo(): [ERROR : Error function type]
public final fun foo(): [Error type: Return type for function cannot be resolved]
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
@@ -1,12 +1,12 @@
package
public fun foo(/*0*/ intDTO: DTO?, /*1*/ p: [ERROR : KProperty1<*, Int>]<out [ERROR : *], kotlin.Int>): kotlin.Unit
public fun foo(/*0*/ intDTO: DTO?, /*1*/ p: [Error type: Unresolved type for KProperty1<*, Int>]<out [Error type: Error type projection], kotlin.Int>): kotlin.Unit
public final class DTO {
public constructor DTO()
public final val q: kotlin.Int = 0
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public final operator fun get(/*0*/ prop: [ERROR : KProperty1<*, Int>]<out [ERROR : *], kotlin.Int>): kotlin.Int
public final operator fun get(/*0*/ prop: [Error type: Unresolved type for KProperty1<*, Int>]<out [Error type: Error type projection], kotlin.Int>): kotlin.Int
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
@@ -1,8 +1,8 @@
package
public val ref1: [ERROR : Type for ::fun1]
public val ref2: [ERROR : Type for ::fun2]
public val ref3: [ERROR : Type for ::fun3]
public val ref1: [Error type: Not found recorded type for ::fun1]
public val ref2: [Error type: Not found recorded type for ::fun2]
public val ref3: [Error type: Not found recorded type for ::fun3]
public fun fun1(): kotlin.Unit
public fun fun1(/*0*/ x: kotlin.Int): kotlin.Unit
public fun fun2(/*0*/ x: kotlin.Int): kotlin.Unit
@@ -1,6 +1,6 @@
package
public val x1: [ERROR : Type for ::foo]
public val x1: [Error type: Not found recorded type for ::foo]
public val x2: () -> kotlin.Unit
public val x3: (kotlin.String) -> kotlin.Unit
public val x4: (kotlin.Int) -> kotlin.Unit
@@ -1,11 +1,11 @@
package
public val x0: [ERROR : Type for A::foo]
public val x0: [Error type: Not found recorded type for A::foo]
public val x1: (A) -> kotlin.Unit
public val x2: kotlin.reflect.KProperty1<A, kotlin.Int>
public val x3: kotlin.reflect.KProperty1<A, kotlin.Int>
public val x4: (A) -> kotlin.String
public val y0: [ERROR : Type for A::bar]
public val y0: [Error type: Not found recorded type for A::bar]
public val y1: (A) -> kotlin.Unit
public val y2: kotlin.reflect.KProperty1<A, kotlin.Int>
public val y3: kotlin.reflect.KProperty1<A, kotlin.Int>
@@ -2,7 +2,7 @@ package
public val x1: kotlin.Unit
public val x2: kotlin.Unit
public val x3: [ERROR : Type for apply(true, ::foo)]
public val x3: [Error type: Not found recorded type for apply(true, ::foo)]
public fun </*0*/ T, /*1*/ R> apply(/*0*/ x: T, /*1*/ f: (T) -> R): R
public fun foo(/*0*/ i: kotlin.Int): kotlin.Unit
public fun foo(/*0*/ s: kotlin.String): kotlin.Unit
@@ -3,8 +3,8 @@ package
public val x1: kotlin.String
public val x2: kotlin.String
public val x3: kotlin.String
public val x4: [ERROR : Type for fn2(::foo, ::bar)]
public val x5: [ERROR : Type for fn2(::foo, ::foo)]
public val x4: [Error type: Not found recorded type for fn2(::foo, ::bar)]
public val x5: [Error type: Not found recorded type for fn2(::foo, ::foo)]
public val x6: kotlin.Int
public fun bar(/*0*/ s: kotlin.String): kotlin.String
public fun fn1(/*0*/ x: kotlin.Int, /*1*/ f1: (kotlin.Int) -> kotlin.String, /*2*/ f2: (kotlin.String) -> kotlin.String): kotlin.String