FIR IDE: Enable ChangeVariableMutabilityFix for MUST_BE_INITIALIZED.
This commit is contained in:
committed by
Ilya Kirillov
parent
09fb2cd746
commit
bb790195a2
+2
-1
@@ -12,4 +12,5 @@ fun test() {
|
||||
class Delegate {
|
||||
operator fun setValue(thisRef: Any?, property: KProperty<*>, value: String) {
|
||||
}
|
||||
}
|
||||
}
|
||||
/* FIR_COMPARISON */
|
||||
+2
-1
@@ -10,4 +10,5 @@ fun test() {
|
||||
var foo: String by <caret>Delegate()
|
||||
}
|
||||
|
||||
class Delegate
|
||||
class Delegate
|
||||
/* FIR_COMPARISON */
|
||||
+2
-1
@@ -2,4 +2,5 @@
|
||||
class Test {
|
||||
var foo<caret>
|
||||
get() = 1
|
||||
}
|
||||
}
|
||||
/* FIR_COMPARISON */
|
||||
Vendored
+2
-1
@@ -2,4 +2,5 @@
|
||||
class Test {
|
||||
val foo
|
||||
get() = 1
|
||||
}
|
||||
}
|
||||
/* FIR_COMPARISON */
|
||||
+2
-1
@@ -4,4 +4,5 @@ class Test {
|
||||
get() {
|
||||
return 1
|
||||
}
|
||||
}
|
||||
}
|
||||
/* FIR_COMPARISON */
|
||||
Vendored
+2
-1
@@ -4,4 +4,5 @@ class Test {
|
||||
get() {
|
||||
return 1
|
||||
}
|
||||
}
|
||||
}
|
||||
/* FIR_COMPARISON */
|
||||
+2
-1
@@ -11,4 +11,5 @@ class Test {
|
||||
get() {
|
||||
return 1
|
||||
}
|
||||
}
|
||||
}
|
||||
/* FIR_COMPARISON */
|
||||
Reference in New Issue
Block a user