[FIR] Don't miss annotations while generating augmented assignments
^KT-62473 Fixed
This commit is contained in:
committed by
Space Team
parent
54e9cafc73
commit
afc22728fa
@@ -1,10 +0,0 @@
|
||||
// ISSUE: KT-62473
|
||||
// WITH_STDLIB
|
||||
|
||||
class A(val list: List<*>)
|
||||
|
||||
fun test(a: A) {
|
||||
val result = mutableListOf<Int>()
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
result += (a.list <!UNCHECKED_CAST!>as List<Int><!>).filter { it > 0 }
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// ISSUE: KT-62473
|
||||
// WITH_STDLIB
|
||||
|
||||
|
||||
Reference in New Issue
Block a user