ChangeVariableMutability: diagnostic can be reported on constructor parameter

#KT-10416 Fixed
This commit is contained in:
Natalia Ukhorskaya
2015-12-16 17:48:50 +03:00
parent fc7c45d4d0
commit 7e6495618b
6 changed files with 54 additions and 9 deletions
@@ -0,0 +1,6 @@
// "Make variable mutable" "true"
class A(val a: Int) {
fun foo() {
<caret>a = 5
}
}