Change Variable Mutability Quick-Fix: Forbid on non-primary-constructor parameters

#KT-10601 Fixed
This commit is contained in:
Alexey Sedunov
2016-01-11 15:22:45 +03:00
parent 5a108c5cde
commit 73233b2e90
3 changed files with 15 additions and 1 deletions
@@ -0,0 +1,5 @@
// "Make variable mutable" "false"
// ERROR: Val cannot be reassigned
fun fun1(i: Int) {
<caret>i = 2
}