Introduce Parameter: Initial support
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
fun foo(a: Int, i: Int = a + 1): Int {
|
||||
val b = (i) * 2
|
||||
return a + b
|
||||
}
|
||||
|
||||
fun test() {
|
||||
foo(1)
|
||||
}
|
||||
Reference in New Issue
Block a user