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