Fix #KT-26353 'Make variable immutable' is a bad name for a quickfix that changes 'var' to 'val'
This commit is contained in:
committed by
Mikhail Glukhikh
parent
e85dcfc3e3
commit
e5841441c9
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Make variable immutable" "true"
|
||||
// "Change to val" "true"
|
||||
fun foo(p: Int) {
|
||||
<caret>var v: Int
|
||||
if (p > 0) v = 1 else v = 2
|
||||
|
||||
Reference in New Issue
Block a user