[FE 1.0] Update test data with new error type representation
This commit is contained in:
committed by
teamcity
parent
b5933c70e2
commit
27fa632630
@@ -2,7 +2,7 @@
|
||||
val s = mutableListOf<String>()
|
||||
---------------------
|
||||
mutableListOf !<v0>: *
|
||||
mutableListOf<String>() <v1>: {<: [ERROR : Type for mutableListOf<String>()]} NEW: magic[UNRESOLVED_CALL](mutableListOf<String>()|!<v0>) -> <v1>
|
||||
mutableListOf<String>() <v1>: {<: [Error type: Not found recorded type for mutableListOf<String>()]} NEW: magic[UNRESOLVED_CALL](mutableListOf<String>()|!<v0>) -> <v1>
|
||||
=====================
|
||||
== test ==
|
||||
fun test(name: String?, flag: Boolean): Boolean {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
val s = mutableListOf<String>()
|
||||
---------------------
|
||||
mutableListOf !<v0>: *
|
||||
mutableListOf<String>() <v1>: {<: [ERROR : Type for mutableListOf<String>()]} NEW: magic[UNRESOLVED_CALL](mutableListOf<String>()|!<v0>) -> <v1>
|
||||
mutableListOf<String>() <v1>: {<: [Error type: Not found recorded type for mutableListOf<String>()]} NEW: magic[UNRESOLVED_CALL](mutableListOf<String>()|!<v0>) -> <v1>
|
||||
=====================
|
||||
== test ==
|
||||
fun test(name: String?, flag: Boolean): Boolean {
|
||||
|
||||
+5
-5
@@ -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 ==
|
||||
{
|
||||
|
||||
+6
-6
@@ -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
|
||||
=====================
|
||||
|
||||
@@ -3,11 +3,11 @@ fun Int.bar(c: C) {
|
||||
this = c
|
||||
}
|
||||
---------------------
|
||||
<v0>: {<: [ERROR : C]} NEW: magic[FAKE_INITIALIZER](c: C) -> <v0>
|
||||
<v2>: * NEW: magic[VALUE_CONSUMER](this|<v1>) -> <v2>
|
||||
this <v1>: * COPY
|
||||
this <v1>: * NEW: r(this, <this>) -> <v1>
|
||||
c <v3>: * NEW: r(c) -> <v3>
|
||||
<v0>: {<: [Error type: Unresolved type for C]} NEW: magic[FAKE_INITIALIZER](c: C) -> <v0>
|
||||
<v2>: * NEW: magic[VALUE_CONSUMER](this|<v1>) -> <v2>
|
||||
this <v1>: * COPY
|
||||
this <v1>: * NEW: r(this, <this>) -> <v1>
|
||||
c <v3>: * NEW: r(c) -> <v3>
|
||||
this = c !<v4>: *
|
||||
{ this = c } !<v4>: * COPY
|
||||
{ this = c } !<v4>: * COPY
|
||||
=====================
|
||||
|
||||
Reference in New Issue
Block a user