Introduce Parameter: Support parameters without default values
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// WITH_DEFAULT_VALUE: false
|
||||
fun foo(a: Int, i: Int): Int {
|
||||
val b = i * 2
|
||||
return a + b
|
||||
}
|
||||
|
||||
fun test() {
|
||||
foo(1, a + 1)
|
||||
}
|
||||
Reference in New Issue
Block a user