[FIR] Don't create smartcast node if smartcasted type is equal to original type

This commit is contained in:
Dmitriy Novozhilov
2021-02-19 17:47:44 +03:00
parent 1c0d862e40
commit 469252f6b4
30 changed files with 272 additions and 271 deletions
@@ -42,6 +42,6 @@ fun case_2(): Int {
var c: Int = 0
c = 0
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Int & kotlin.Int")!>c<!>
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Int")!>c<!>
return c
}