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
@@ -12,15 +12,15 @@ fun foo() {
"after"
}
---------------------
"before" <v0> NEW()
x <v3> NEW(<v2>)
"after" <v4> NEW()
{ "before" class A(val x: Int) { { val a = x } fun foo() { val b = x } } "after" } <v4> COPY
"before" <v0>: * NEW()
x <v3>: Int NEW(<v2>)
"after" <v4>: * NEW()
{ "before" class A(val x: Int) { { val a = x } fun foo() { val b = x } } "after" } <v4>: * COPY
=====================
== foo ==
fun foo() {
val b = x
}
---------------------
x <v1> NEW(<v0>)
x <v1>: Int NEW(<v0>)
=====================