Pseudocode: Implement computation of expected type predicates
This commit is contained in:
@@ -3,7 +3,7 @@ fun foo(f: () -> Unit) {
|
||||
f()
|
||||
}
|
||||
---------------------
|
||||
f <v1> NEW()
|
||||
f() <v2> NEW(<v1>)
|
||||
{ f() } <v2> COPY
|
||||
f <v1>: {<: () -> Unit} NEW()
|
||||
f() <v2>: * NEW(<v1>)
|
||||
{ f() } <v2>: * COPY
|
||||
=====================
|
||||
|
||||
Reference in New Issue
Block a user