Compute pseudo value for parameter correctly:

do not throw away pseudo value for default value
This commit is contained in:
Svetlana Isakova
2014-06-20 19:37:28 +04:00
parent d150bfbce0
commit 2077604d6d
4 changed files with 28 additions and 13 deletions
@@ -1 +1 @@
fun foo(i: Int = 1) = i + 2
fun foo(i: Int = 1, j: Int) = i + j