Move property to constructor preserves vararg keyword (#1095)
#KT-18035 Fixed
This commit is contained in:
@@ -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) {
|
||||
}
|
||||
Reference in New Issue
Block a user