[tests] Change builder inference tests in accordance with new K2 BI diagnostics
Related to KT-59369, KT-59390
This commit is contained in:
committed by
Space Team
parent
da0c3090a9
commit
7515efc52c
@@ -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()) }
|
||||
|
||||
Reference in New Issue
Block a user