Quick fix for applying spread operator where vararg is expected #KT-6824 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
6ae4b42164
commit
44e69d8adc
@@ -0,0 +1,5 @@
|
||||
// "Change 'array' to '*array'" "true"
|
||||
|
||||
fun foo(a: String, vararg x: String, b: Int) {}
|
||||
|
||||
fun bar(array: Array<String>) = foo("aaa", array<caret>, b = 1)
|
||||
Reference in New Issue
Block a user