FIR IDE: Enable ChangeVariableMutabilityFix for MUST_BE_INITIALIZED.

This commit is contained in:
Mark Punzalan
2021-03-10 22:08:33 +00:00
committed by Ilya Kirillov
parent 09fb2cd746
commit bb790195a2
11 changed files with 80 additions and 9 deletions
@@ -12,4 +12,5 @@ fun test() {
class Delegate {
operator fun setValue(thisRef: Any?, property: KProperty<*>, value: String) {
}
}
}
/* FIR_COMPARISON */
@@ -10,4 +10,5 @@ fun test() {
var foo: String by <caret>Delegate()
}
class Delegate
class Delegate
/* FIR_COMPARISON */
@@ -2,4 +2,5 @@
class Test {
var foo<caret>
get() = 1
}
}
/* FIR_COMPARISON */
@@ -2,4 +2,5 @@
class Test {
val foo
get() = 1
}
}
/* FIR_COMPARISON */
@@ -4,4 +4,5 @@ class Test {
get() {
return 1
}
}
}
/* FIR_COMPARISON */
@@ -4,4 +4,5 @@ class Test {
get() {
return 1
}
}
}
/* FIR_COMPARISON */
@@ -11,4 +11,5 @@ class Test {
get() {
return 1
}
}
}
/* FIR_COMPARISON */