Introduce Parameter: Initial support

This commit is contained in:
Alexey Sedunov
2015-04-03 17:32:39 +03:00
parent 06960be3ad
commit 53a6827ad8
30 changed files with 711 additions and 13 deletions
@@ -0,0 +1,8 @@
fun foo(a: Int, i: Int = a + 1): Int {
val b = (i) * 2
return a + b
}
fun test() {
foo(1)
}