Highlighting "as Foo" for useless casts in gray.
#KT-6070 fixed
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
suppress("REDUNDANT_NULLABLE", "UNNECESSARY_NOT_NULL_ASSERTION")
|
||||
object C {
|
||||
fun foo(): String?? = ""!! <!USELESS_CAST_STATIC_ASSERT_IS_FINE!>as<!> String??
|
||||
fun foo(): String?? = ""!! <!USELESS_CAST_STATIC_ASSERT_IS_FINE!>as String??<!>
|
||||
}
|
||||
Reference in New Issue
Block a user