Add tests for element -> pseudo-value mapping
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
== foo ==
|
||||
fun foo() {
|
||||
"before"
|
||||
if (true) {
|
||||
val a = 1
|
||||
}
|
||||
else {
|
||||
val b = 2
|
||||
}
|
||||
"after"
|
||||
}
|
||||
---------------------
|
||||
"before" <v0> NEW()
|
||||
true <v1> NEW()
|
||||
1 <v2> NEW()
|
||||
2 <v3> NEW()
|
||||
"after" <v4> NEW()
|
||||
{ "before" if (true) { val a = 1 } else { val b = 2 } "after" } <v4> COPY
|
||||
=====================
|
||||
Reference in New Issue
Block a user