Quick Fixes: Implement "Remove unused assignment" quickfix

#KT-9931 Fixed
This commit is contained in:
Alexey Sedunov
2016-09-02 21:07:03 +03:00
parent 074ad6b5f0
commit 0616e869aa
12 changed files with 168 additions and 0 deletions
@@ -1,4 +1,5 @@
// "Make variable mutable" "false"
// ACTION: Remove redundant assignment
// ERROR: Val cannot be reassigned
fun fun1(i: Int) {
<caret>i = 2