FIR: report UNSAFE_CALL on dot when possible
This commit is contained in:
@@ -15,7 +15,7 @@ fun test2() {
|
||||
catch (e: ExcB) {
|
||||
10
|
||||
}
|
||||
s.<!UNSAFE_CALL!>length<!>
|
||||
s<!UNSAFE_CALL!>.<!>length
|
||||
}
|
||||
|
||||
fun test3() {
|
||||
@@ -28,7 +28,7 @@ fun test3() {
|
||||
catch (e: ExcB) {
|
||||
return
|
||||
}
|
||||
s.<!UNSAFE_CALL!>length<!>
|
||||
s<!UNSAFE_CALL!>.<!>length
|
||||
}
|
||||
|
||||
fun test4() {
|
||||
@@ -41,7 +41,7 @@ fun test4() {
|
||||
finally {
|
||||
""
|
||||
}
|
||||
s.<!UNSAFE_CALL!>length<!>
|
||||
s<!UNSAFE_CALL!>.<!>length
|
||||
}
|
||||
|
||||
fun test5() {
|
||||
@@ -54,7 +54,7 @@ fun test5() {
|
||||
finally {
|
||||
return
|
||||
}
|
||||
s.<!UNSAFE_CALL!>length<!>
|
||||
s<!UNSAFE_CALL!>.<!>length
|
||||
}
|
||||
|
||||
fun test6() {
|
||||
@@ -67,7 +67,7 @@ fun test6() {
|
||||
catch (e: ExcB) {
|
||||
return
|
||||
}
|
||||
s.<!UNSAFE_CALL!>length<!>
|
||||
s<!UNSAFE_CALL!>.<!>length
|
||||
}
|
||||
|
||||
fun test7() {
|
||||
@@ -80,7 +80,7 @@ fun test7() {
|
||||
catch (e: ExcB) {
|
||||
""
|
||||
}
|
||||
s.<!UNSAFE_CALL!>length<!>
|
||||
s<!UNSAFE_CALL!>.<!>length
|
||||
}
|
||||
|
||||
fun test8() {
|
||||
@@ -89,7 +89,7 @@ fun test8() {
|
||||
} catch (e: ExcA) {
|
||||
null
|
||||
}
|
||||
s.<!UNSAFE_CALL!>length<!>
|
||||
s<!UNSAFE_CALL!>.<!>length
|
||||
}
|
||||
|
||||
fun test9() {
|
||||
|
||||
Reference in New Issue
Block a user