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