[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
@@ -3,9 +3,7 @@
// IGNORE_LIGHT_ANALYSIS
// IGNORE_BACKEND: ANY
// REASON: red code in K1 (see corresponding diagnostic test)
// REASON: compile-time failure in K2/JVM (java.lang.IllegalStateException: Cannot serialize error type: ERROR CLASS: Cannot infer argument for type parameter PTV)
// REASON: compile-time failure in K2/Native, K2/WASM, K2/JS (org.jetbrains.kotlin.backend.common.linkage.issues.IrDisallowedErrorNode: Class found but error nodes are not allowed)
// REASON: red code (see corresponding diagnostic test)
fun box(): String {
selectBuildee(