Add intention replacing vararg with array and vice versa #KT-23419 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
e933bb8220
commit
da92eb63a0
+1
@@ -0,0 +1 @@
|
||||
fun foo(<spot>vararg a: String</spot>): Int = a.size
|
||||
+1
@@ -0,0 +1 @@
|
||||
fun foo(<spot>a: Array<String></spot>): Int = a.size
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention converts an array parameter to a <b>vararg</b> parameter.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user