Add "Make variable immutable" quickfix for const #KT-24263 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
d1c2ea4095
commit
3aab68d635
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user