[FIR2IR] Properly insert casts for smartcasts in argument position

Previously cast inserter didn't consider expected type for arguments
  of function calls

^KT-63257 Fixed
This commit is contained in:
Dmitriy Novozhilov
2023-11-07 17:41:22 +02:00
committed by Space Team
parent c70a6425f5
commit 8578a0bf6a
30 changed files with 292 additions and 33 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND_K2: WASM
// WITH_STDLIB
// FILE: externals.js
@@ -229,4 +228,4 @@ fun box(): String {
}
return "OK"
}
}