ConeTypeIntersector: preserve raw & dynamic types as is

This commit is contained in:
Mikhail Glukhikh
2023-01-03 18:03:21 +01:00
committed by Space Team
parent 55fdb43620
commit 1344a9b1bb
8 changed files with 115 additions and 1 deletions
@@ -0,0 +1,8 @@
fun bar(): <!UNSUPPORTED!>dynamic<!> = TODO()
fun foo() {
val x = bar()
if (x is String) {
val y = <!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Nothing..kotlin.Any?! & kotlin.Nothing..kotlin.Any?!")!>x<!>
}
}