[FIR] Render original type before smartcasted type in DEBUG_INFO_EXPRESSION_TYPE

This is made for keep consistency with same renderer in FE 1.0
This commit is contained in:
Dmitriy Novozhilov
2021-02-15 13:34:15 +03:00
parent d4c26cca52
commit 2b39282682
102 changed files with 5883 additions and 5883 deletions
@@ -10,7 +10,7 @@ fun test1(y: Any) {
y as Map<String, Any?>
y as Map<*, *>
y.forEach { (k: String, u: Any?) -> }
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.collections.Map<kotlin.String, kotlin.Any?> & kotlin.Any")!>y<!>
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Any & kotlin.collections.Map<kotlin.String, kotlin.Any?>")!>y<!>
}
fun test2(x: Any, y: Inv<String>) {