[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-60291
// IGNORE_LIGHT_ANALYSIS
// IGNORE_BACKEND_K1: ANY
// IGNORE_BACKEND: ANY
// REASON: red code (see corresponding diagnostic test)
// IGNORE_BACKEND_K2: NATIVE, WASM, JS_IR, JS_IR_ES6
// REASON: compile-time failure (org.jetbrains.kotlin.backend.common.linkage.issues.IrDisallowedErrorNode: Class found but error nodes are not allowed)
fun box(): String {
if (true)
build { setTypeVariable(TargetType()) }