FIR checker: warn unnecessary non-null assertions
This commit is contained in:
committed by
Mikhail Glukhikh
parent
5229d4e4f4
commit
2ecb6733ed
@@ -339,7 +339,7 @@ fun case_25(x: Boolean?) {
|
||||
*/
|
||||
fun case_26(x: Boolean?) {
|
||||
while (true) {
|
||||
for (i in listOf(break, x as Boolean, x!!)) {
|
||||
for (i in listOf(break, x as Boolean, x<!UNNECESSARY_NOT_NULL_ASSERTION!>!!<!>)) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user