Move property to constructor preserves vararg keyword (#1095)

#KT-18035 Fixed
This commit is contained in:
nd
2017-05-24 14:58:30 +02:00
committed by Dmitry Jemerov
parent 965b4199f4
commit 8d6d228bb8
4 changed files with 15 additions and 0 deletions
@@ -0,0 +1,4 @@
// "Move to constructor" "true"
class A(vararg strings: String) {
val <caret>strings = strings
}
@@ -0,0 +1,3 @@
// "Move to constructor" "true"
class A(vararg val strings: String) {
}