FIR: report UNSAFE_CALL on dot when possible
This commit is contained in:
@@ -30,8 +30,8 @@ class Case5(val y: Any?): ClassWithCostructorParam(y as Interface1), Interface1
|
||||
|
||||
// TESTCASE NUMBER: 6
|
||||
fun case_6(a: Int?) = object : ClassWithCostructorParam(a!!) {
|
||||
fun run() = a.<!UNSAFE_CALL!>toShort<!>()
|
||||
fun run() = a<!UNSAFE_CALL!>.<!>toShort()
|
||||
init {
|
||||
println(a.<!UNSAFE_CALL!>toShort<!>())
|
||||
println(a<!UNSAFE_CALL!>.<!>toShort())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user