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
@@ -3,8 +3,8 @@ fun invoke(f: () -> Unit) {
(f)()
}
---------------------
f <v1> NEW()
(f) <v1> COPY
(f)() <v2> NEW(<v1>)
{ (f)() } <v2> COPY
f <v1>: {<: () -> Unit} NEW()
(f) <v1>: {<: () -> Unit} COPY
(f)() <v2>: * NEW(<v1>)
{ (f)() } <v2>: * COPY
=====================