[FIR] Add UNCHECKED_CAST
Regenerate diagnostics code
This commit is contained in:
committed by
TeamCityServer
parent
1fbccff1bd
commit
d0a4ca199d
@@ -9,7 +9,7 @@
|
||||
*/
|
||||
fun case_1() {
|
||||
val list = mutableListOf<String>()
|
||||
val ints = list as MutableList<Int>
|
||||
val ints = list <!UNCHECKED_CAST!>as MutableList<Int><!>
|
||||
val strs = list as MutableList<String>
|
||||
strs.add("two")
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.collections.MutableList<kotlin.String> & kotlin.collections.MutableList<kotlin.Int> & kotlin.collections.MutableList<kotlin.String>")!>list<!>
|
||||
|
||||
Reference in New Issue
Block a user