FIR IDE: Enable RemoveUselessElvisFix.

This commit is contained in:
Mark Punzalan
2021-05-21 07:18:05 +00:00
committed by TeamCityServer
parent 157046153f
commit a778cc673e
12 changed files with 62 additions and 56 deletions
-2
View File
@@ -2,5 +2,3 @@
fun foo(a: String) {
val b : String = a <caret>?: "s"
}
/* IGNORE_FIR */
@@ -2,5 +2,3 @@
fun foo(a: String) {
val b : String = a<caret>
}
/* IGNORE_FIR */
@@ -0,0 +1,4 @@
// "Remove useless elvis operator" "true"
fun foo(a: String?) {
val b = a <caret>?: null
}
@@ -0,0 +1,4 @@
// "Remove useless elvis operator" "true"
fun foo(a: String?) {
val b = a<caret>
}