Add intention replacing vararg with array and vice versa #KT-23419 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-05-07 12:11:15 +03:00
committed by Mikhail Glukhikh
parent e933bb8220
commit da92eb63a0
50 changed files with 378 additions and 0 deletions
@@ -0,0 +1 @@
fun foo(<spot>vararg a: String</spot>): Int = a.size
@@ -0,0 +1 @@
fun foo(<spot>a: Array<String></spot>): Int = a.size
@@ -0,0 +1,5 @@
<html>
<body>
This intention converts an array parameter to a <b>vararg</b> parameter.
</body>
</html>