KT-7715 Highlight var's that can be replaced by val's
#KT-7715 Fixed
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
fun foo(p: Int) {
|
||||
var v1: Int
|
||||
var v2: Int
|
||||
if (p > 0) v1 = 1 else v1 = 2
|
||||
v2 = 1
|
||||
}
|
||||
Reference in New Issue
Block a user