[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
@@ -24,8 +24,8 @@ object C {
operator fun X.invoke() = println("Hello!")
---------------------
println !<v1>: *
"Hello!" <v0>: * NEW: r("Hello!") -> <v0>
println("Hello!") <v2>: {<: [ERROR : Error function type]} NEW: magic[UNRESOLVED_CALL](println("Hello!")|<v0>, !<v1>) -> <v2>
"Hello!" <v0>: * NEW: r("Hello!") -> <v0>
println("Hello!") <v2>: {<: [Error type: Return type for function cannot be resolved]} NEW: magic[UNRESOLVED_CALL](println("Hello!")|<v0>, !<v1>) -> <v2>
=====================
== with ==
inline fun <T, R> with(receiver: T, block: T.() -> R): R = receiver.block()
@@ -44,9 +44,9 @@ fun use() = with(C) {
}
}
---------------------
C <v0>: C NEW: r(C) -> <v0>
{ with(B) { A.foo() } } <v1>: {<: C.() -> ???} NEW: r({ with(B) { A.foo() } }) -> <v1>
with(C) { with(B) { A.foo() } } <v2>: {<: [ERROR : Error function type]} NEW: call(with(C) { with(B) { A.foo() } }, with|<v0>, <v1>) -> <v2>
C <v0>: C NEW: r(C) -> <v0>
{ with(B) { A.foo() } } <v1>: {<: C.() -> ???} NEW: r({ with(B) { A.foo() } }) -> <v1>
with(C) { with(B) { A.foo() } } <v2>: {<: [Error type: Return type for function cannot be resolved]} NEW: call(with(C) { with(B) { A.foo() } }, with|<v0>, <v1>) -> <v2>
=====================
== anonymous_0 ==
{
@@ -4,10 +4,10 @@ fun foo(x: Int) {
a
}
---------------------
<v0>: Int NEW: magic[FAKE_INITIALIZER](x: Int) -> <v0>
<v2>: {<: [ERROR : component1() return type]} NEW: magic[UNRESOLVED_CALL](a|<v1>) -> <v2>
<v3>: {<: [ERROR : component2() return type]} NEW: magic[UNRESOLVED_CALL](b|<v1>) -> <v3>
x <v1>: * NEW: r(x) -> <v1>
a <v4>: * NEW: r(a) -> <v4>
{ val (a, b) = x a } <v4>: * COPY
<v0>: Int NEW: magic[FAKE_INITIALIZER](x: Int) -> <v0>
<v2>: {<: [Error type: component1() return type]} NEW: magic[UNRESOLVED_CALL](a|<v1>) -> <v2>
<v3>: {<: [Error type: component2() return type]} NEW: magic[UNRESOLVED_CALL](b|<v1>) -> <v3>
x <v1>: * NEW: r(x) -> <v1>
a <v4>: * NEW: r(a) -> <v4>
{ val (a, b) = x a } <v4>: * COPY
=====================