Uast: properly handling annotations on destructured variables (KT-35673, EA-220128)
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
fun foo() {
|
||||
fun foo(data: Any) {
|
||||
val (a, b) = "foo" to 1
|
||||
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
val (k, v) = data as Pair<String, String>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user