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[1] = 2
}
---------------------
a <v1> NEW()
1 <v2> NEW()
2 <v3> NEW()
a[1] = 2 <v4> NEW(<v1>, <v2>, <v3>)
{ a[1] = 2 } <v4> COPY
a <v1>: {<: Array<Int>} NEW()
1 <v2>: Int NEW()
2 <v3>: Int NEW()
a[1] = 2 <v4>: * NEW(<v1>, <v2>, <v3>)
{ a[1] = 2 } <v4>: * COPY
=====================