Pseudocode: Implement computation of expected type predicates

This commit is contained in:
Alexey Sedunov
2014-06-23 14:02:22 +04:00
parent 50228fa085
commit 5e2c2b4eca
87 changed files with 1154 additions and 803 deletions
@@ -7,11 +7,11 @@ fun foo() {
"after"
}
---------------------
"before" <v0> NEW()
1 <v1> NEW()
10 <v2> NEW()
1..10 <v3> NEW(<v1>, <v2>)
i <v5> NEW()
"after" <v6> NEW()
{ "before" for (i in 1..10) { val a = i } "after" } <v6> COPY
"before" <v0>: * NEW()
1 <v1>: Int NEW()
10 <v2>: Int NEW()
1..10 <v3>: {<: Iterable<Int>} NEW(<v1>, <v2>)
i <v5>: Int NEW()
"after" <v6>: * NEW()
{ "before" for (i in 1..10) { val a = i } "after" } <v6>: * COPY
=====================