Evaluate default value for argument non-deterministically

in pseudocode
This commit is contained in:
Svetlana Isakova
2014-06-12 13:03:59 +04:00
parent 9480907514
commit 88ecc5cc59
6 changed files with 64 additions and 2 deletions
@@ -0,0 +1,8 @@
== foo ==
fun foo(i: Int = 1) = i + 2
---------------------
1 <v0> NEW()
i <v2> NEW()
2 <v3> NEW()
i + 2 <v4> NEW(<v2>, <v3>)
=====================