Added parameter with default value to test

This commit is contained in:
Valentin Kipyatkov
2014-10-30 18:42:38 +03:00
parent 2200908367
commit 43e5112c21
2 changed files with 28 additions and 1 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ class D {
val v2 = 2
// Function foo()
fun foo(/* parameters */ p1: Int/* p1 */, p2: Int /* p2 */) {
fun foo(/* parameters */ p1: Int/* p1 */, p2: Int /* p2 */, p3: String = a.b(c)/*parameter with default value*/) {
// before local var
val local = 1 // local var
// before local fun