[NI-MIGRATE] Update pseudocode tests for NI
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
== C ==
|
||||
class C {
|
||||
fun component1() = 1
|
||||
fun component2() = 2
|
||||
operator fun component1() = 1
|
||||
operator fun component2() = 2
|
||||
}
|
||||
---------------------
|
||||
L0:
|
||||
@@ -14,7 +14,7 @@ sink:
|
||||
<SINK> PREV:[<ERROR>, <END>]
|
||||
=====================
|
||||
== component1 ==
|
||||
fun component1() = 1
|
||||
operator fun component1() = 1
|
||||
---------------------
|
||||
L0:
|
||||
1 <START>
|
||||
@@ -28,7 +28,7 @@ sink:
|
||||
<SINK> PREV:[<ERROR>, <END>]
|
||||
=====================
|
||||
== component2 ==
|
||||
fun component2() = 2
|
||||
operator fun component2() = 2
|
||||
---------------------
|
||||
L0:
|
||||
1 <START>
|
||||
@@ -69,4 +69,4 @@ error:
|
||||
<ERROR> PREV:[]
|
||||
sink:
|
||||
<SINK> PREV:[<ERROR>, <END>]
|
||||
=====================
|
||||
=====================
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package n
|
||||
|
||||
class C {
|
||||
fun component1() = 1
|
||||
fun component2() = 2
|
||||
operator fun component1() = 1
|
||||
operator fun component2() = 2
|
||||
}
|
||||
|
||||
fun test(c: C) {
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
== C ==
|
||||
class C {
|
||||
fun component1() = 1
|
||||
fun component2() = 2
|
||||
operator fun component1() = 1
|
||||
operator fun component2() = 2
|
||||
}
|
||||
---------------------
|
||||
=====================
|
||||
== component1 ==
|
||||
fun component1() = 1
|
||||
operator fun component1() = 1
|
||||
---------------------
|
||||
1 <v0>: Int NEW: r(1) -> <v0>
|
||||
=====================
|
||||
== component2 ==
|
||||
fun component2() = 2
|
||||
operator fun component2() = 2
|
||||
---------------------
|
||||
2 <v0>: Int NEW: r(2) -> <v0>
|
||||
=====================
|
||||
@@ -22,8 +22,8 @@ fun test(c: C) {
|
||||
}
|
||||
---------------------
|
||||
<v0>: C NEW: magic[FAKE_INITIALIZER](c: C) -> <v0>
|
||||
a <v2>: Int NEW: call(a, component1|<v1>) -> <v2>
|
||||
b <v3>: Int NEW: call(b, component2|<v1>) -> <v3>
|
||||
c <v1>: C NEW: r(c) -> <v1>
|
||||
1 <v4>: Int NEW: r(1) -> <v4>
|
||||
a <v2>: Int NEW: call(a, component1|<v1>) -> <v2>
|
||||
b <v3>: Int NEW: call(b, component2|<v1>) -> <v3>
|
||||
c <v1>: C NEW: r(c) -> <v1>
|
||||
1 <v4>: Int NEW: r(1) -> <v4>
|
||||
=====================
|
||||
|
||||
Reference in New Issue
Block a user