[tests] Change builder inference tests in accordance with KT-53749 changes
This commit is contained in:
committed by
Space Team
parent
7515efc52c
commit
254bcdc80a
@@ -1,12 +1,9 @@
|
||||
// ISSUE: KT-50453
|
||||
|
||||
// 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 @ Kt50453Kt$box$1.invoke)
|
||||
|
||||
fun box(): String {
|
||||
build {
|
||||
setTypeVariable(TargetType())
|
||||
|
||||
@@ -1,12 +1,9 @@
|
||||
// ISSUE: KT-54664
|
||||
|
||||
// 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 @ Kt54664Kt.consumeDifferentTypeCallable)
|
||||
|
||||
fun box(): String {
|
||||
build {
|
||||
setTypeVariable(TargetType())
|
||||
|
||||
@@ -1,12 +1,9 @@
|
||||
// ISSUE: KT-55056
|
||||
|
||||
// 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 @ Kt55056Kt$box$1.invoke)
|
||||
|
||||
fun box(): String {
|
||||
build {
|
||||
setTypeVariable(TargetType())
|
||||
|
||||
@@ -1,12 +1,9 @@
|
||||
// ISSUE: KT-56949
|
||||
|
||||
// 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 @ Kt56949Kt$box$1.invoke)
|
||||
|
||||
fun box(): String {
|
||||
build {
|
||||
setTypeVariable(TargetType())
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// ISSUE: KT-57707
|
||||
|
||||
// IGNORE_LIGHT_ANALYSIS
|
||||
// IGNORE_BACKEND_K1: ANY
|
||||
// IGNORE_BACKEND: ANY
|
||||
// REASON: red code (see corresponding diagnostic test)
|
||||
|
||||
fun box(): String {
|
||||
|
||||
@@ -1,12 +1,9 @@
|
||||
// ISSUE: KT-59426
|
||||
|
||||
// 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: DifferentType cannot be cast to TargetType @ Kt59426Kt.consumeBuildeeReceiver)
|
||||
|
||||
fun box(): String {
|
||||
build {
|
||||
setTypeVariable(DifferentType())
|
||||
|
||||
@@ -2,12 +2,9 @@
|
||||
// WITH_STDLIB
|
||||
|
||||
// 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.ArrayStoreException: TargetType @ Kt63840aKt$box$1.invoke)
|
||||
|
||||
fun box(): String {
|
||||
build {
|
||||
select(
|
||||
|
||||
@@ -1,12 +1,9 @@
|
||||
// ISSUE: KT-63840
|
||||
|
||||
// IGNORE_LIGHT_ANALYSIS
|
||||
// IGNORE_BACKEND_K1: ANY
|
||||
// IGNORE_BACKEND: ANY
|
||||
// REASON: red code (see corresponding diagnostic test)
|
||||
|
||||
// IGNORE_BACKEND_K2: JVM_IR
|
||||
// REASON: run-time failure (java.lang.ClassCastException: TargetType cannot be cast to DifferentType @ Kt63840bKt$box$1.invoke)
|
||||
|
||||
fun box(): String {
|
||||
build {
|
||||
if (true)
|
||||
|
||||
@@ -1,12 +1,9 @@
|
||||
// ISSUE: KT-63840
|
||||
|
||||
// IGNORE_LIGHT_ANALYSIS
|
||||
// IGNORE_BACKEND_K1: ANY
|
||||
// IGNORE_BACKEND: ANY
|
||||
// REASON: red code (see corresponding diagnostic test)
|
||||
|
||||
// IGNORE_BACKEND_K2: JVM_IR
|
||||
// REASON: run-time failure (java.lang.ClassCastException: TargetType cannot be cast to DifferentType @ Kt63840cKt$box$1.invoke)
|
||||
|
||||
fun box(): String {
|
||||
build {
|
||||
when {
|
||||
|
||||
Reference in New Issue
Block a user