FIR: report UNSAFE_CALL on dot when possible
This commit is contained in:
Vendored
+1
-1
@@ -9,5 +9,5 @@ fun checkJump(x: Int?, y: Int?) {
|
||||
y.hashCode()
|
||||
}
|
||||
// Smart cast here is erroneous: y is nullable
|
||||
y.<!UNSAFE_CALL!>hashCode<!>()
|
||||
y<!UNSAFE_CALL!>.<!>hashCode()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user