Add "Make variable immutable" quickfix for const #KT-24263 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-05-08 17:32:29 +03:00
committed by Mikhail Glukhikh
parent d1c2ea4095
commit 3aab68d635
6 changed files with 25 additions and 1 deletions
@@ -1,5 +1,6 @@
// "Replace array of boxed with array of primitive" "false"
// ACTION: Put parameters on one line
// ACTION: Convert to vararg parameter (may break code)
annotation class SuperAnnotation(
val str: <caret>Array<String>
)
@@ -0,0 +1,4 @@
// "Make variable immutable" "true"
object Test {
<caret>const var foo = "123"
}
@@ -0,0 +1,4 @@
// "Make variable immutable" "true"
object Test {
<caret>const val foo = "123"
}