[FIR] Add UNCHECKED_CAST
Regenerate diagnostics code
This commit is contained in:
committed by
TeamCityServer
parent
1fbccff1bd
commit
d0a4ca199d
@@ -10,9 +10,9 @@ fun <T, S : T> test(x: T?, y: S, z: T) {
|
||||
<!USELESS_IS_CHECK!>z is T<!>
|
||||
<!USELESS_IS_CHECK!>z is T?<!>
|
||||
|
||||
null as T
|
||||
null <!UNCHECKED_CAST!>as T<!>
|
||||
null as T?
|
||||
null as S
|
||||
null <!UNCHECKED_CAST!>as S<!>
|
||||
}
|
||||
|
||||
inline fun <reified T> test(x: T?) {
|
||||
|
||||
Reference in New Issue
Block a user