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
+5 -5
View File
@@ -3,9 +3,9 @@ fun foo(a: Array<Int>) {
a[0]++
}
---------------------
a <v5> NEW()
0 <v6> NEW()
a[0] <v3> NEW(<v1>, <v2>)
a[0]++ <v3> COPY
{ a[0]++ } <v3> COPY
a <v5>: {<: Array<Int>} NEW()
0 <v6>: Int NEW()
a[0] <v3>: Int NEW(<v1>, <v2>)
a[0]++ <v3>: Int COPY
{ a[0]++ } <v3>: Int COPY
=====================