Create From Usage: Do not suggest "val" for references used as assignment left-hand side

This commit is contained in:
Alexey Sedunov
2014-10-03 16:38:38 +04:00
parent 58126b28ca
commit 865c793561
26 changed files with 180 additions and 49 deletions
@@ -0,0 +1,7 @@
// "Create local variable 'foo'" "true"
fun test(n: Int) {
var foo: Int
foo = n + 1
}
@@ -0,0 +1,5 @@
// "Create local variable 'foo'" "true"
fun test(n: Int) {
<caret>foo = n + 1
}