FIR IDE: RemoveNulalbleFix quickfix

This commit is contained in:
Tianyu Geng
2021-06-11 16:30:40 -07:00
committed by Ilya Kirillov
parent b10de3dd2d
commit 4bedf41f9c
10 changed files with 99 additions and 59 deletions
+1 -2
View File
@@ -2,5 +2,4 @@
class A() {
<caret>lateinit var foo: String?
}
/* IGNORE_FIR */
}
+1 -2
View File
@@ -2,5 +2,4 @@
class A() {
<caret>lateinit var foo: String
}
/* IGNORE_FIR */
}
@@ -2,3 +2,5 @@
fun main(args : Array<String>) {
val x : Int??<caret> = 15
}
/* IGNORE_FIR */
@@ -2,3 +2,5 @@
fun main(args : Array<String>) {
val x : Int? = 15
}
/* IGNORE_FIR */
+2 -1
View File
@@ -1,4 +1,5 @@
// "Remove useless '?'" "true"
fun f(a: Int) : Boolean {
return a is Int?<caret>
}
}
/* IGNORE_FIR */
@@ -1,4 +1,5 @@
// "Remove useless '?'" "true"
fun f(a: Int) : Boolean {
return a is Int<caret>
}
}
/* IGNORE_FIR */