From a03f65e06b293ee992f6226bf2b84adaae9afaaa Mon Sep 17 00:00:00 2001 From: Stanislav Ruban Date: Wed, 2 Aug 2023 12:53:49 +0300 Subject: [PATCH] !fixup [tests] BI (1P&1TV/1TIO): add tests for target types failing legacy JVM backend tests for LocalClass.kt and GenericLocalClass.kt test data were not initially muted --- .../oneTypeInfoOrigin/targetTypes/GenericLocalClass.kt | 5 +++++ .../oneTypeInfoOrigin/targetTypes/LocalClass.kt | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/targetTypes/GenericLocalClass.kt b/compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/targetTypes/GenericLocalClass.kt index a8ae8849b7d..9d7b6f16a4e 100644 --- a/compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/targetTypes/GenericLocalClass.kt +++ b/compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/targetTypes/GenericLocalClass.kt @@ -1,3 +1,8 @@ +// IGNORE_BACKEND: JVM +/* ^ code compiled by legacy JVM backend fails in run-time with + * NoSuchMethodError: GenericLocalClassKt$testYield$3$buildee$1$Local: method ()V not found + */ + // IGNORE_BACKEND: NATIVE // IGNORE_BACKEND: WASM // IGNORE_BACKEND: JS, JS_IR, JS_IR_ES6 diff --git a/compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/targetTypes/LocalClass.kt b/compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/targetTypes/LocalClass.kt index 12ce2261626..9dfb707b5a9 100644 --- a/compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/targetTypes/LocalClass.kt +++ b/compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/targetTypes/LocalClass.kt @@ -1,3 +1,8 @@ +// IGNORE_BACKEND: JVM +/* ^ code compiled by legacy JVM backend fails in run-time with + * NoSuchMethodError: LocalClassKt$testYield$3$buildee$1$Local: method ()V not found + */ + // IGNORE_BACKEND: NATIVE // IGNORE_BACKEND: WASM // IGNORE_BACKEND: JS, JS_IR, JS_IR_ES6