[tests] Change builder inference tests in accordance with new K2 BI diagnostics

Related to KT-59369, KT-59390
This commit is contained in:
Stanislav Ruban
2023-12-02 17:41:55 +01:00
committed by Space Team
parent da0c3090a9
commit 7515efc52c
23 changed files with 37 additions and 134 deletions
@@ -1,12 +1,9 @@
// ISSUE: KT-53740
// IGNORE_LIGHT_ANALYSIS
// IGNORE_BACKEND_K1: ANY
// IGNORE_BACKEND: ANY
// REASON: red code (see corresponding diagnostic test)
// IGNORE_BACKEND_K2: JVM_IR, WASM
// REASON: run-time failure (java.lang.ClassCastException: TargetType cannot be cast to DifferentType @ Kt53740bKt$box$2.invoke)
fun box(): String {
parallelInOutBuild(
{