From 73aa465ee973aaeecbf1aecba5da167858946a7a Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Wed, 3 Feb 2021 15:03:30 +0100 Subject: [PATCH] Add tests for issues fixed in JVM IR Note that KT-30696 is fixed only in the single-module case, and KT-42012 is not fixed fully (see KT-44855). #KT-30041 #KT-30629 #KT-30696 #KT-30933 #KT-32351 #KT-32749 #KT-38849 #KT-42012 #KT-42990 #KT-44234 #KT-44529 #KT-44631 #KT-44647 --- .../FirBlackBoxCodegenTestGenerated.java | 66 +++++++++++++++++++ ...FirBlackBoxInlineCodegenTestGenerated.java | 12 ++++ .../genericBoundPropertyAsCrossinline.kt | 41 ++++++++++++ .../nestedLambdaInNonInlineCallExactlyOnce.kt | 27 ++++++++ .../named/callTopLevelFromLocal.kt | 32 +++++++++ .../box/inlineClasses/customIterator.kt | 25 +++++++ .../box/jvmStatic/extensionPropertyGetter.kt | 23 +++++++ .../defaultParameterInConstructor.kt | 13 ++++ .../testData/codegen/box/objects/kt32351.kt | 27 ++++++++ .../testData/codegen/box/objects/kt32749.kt | 20 ++++++ .../box/operatorConventions/kt44647.kt | 11 ++++ .../lateinit/privateVarInCompanion.kt | 26 ++++++++ .../visibility/protectedAndPackage/kt42012.kt | 36 ++++++++++ .../boxInline/anonymousObject/kt30696.kt | 22 +++++++ .../callableReference/bound/kt30933.kt | 21 ++++++ .../codegen/BlackBoxCodegenTestGenerated.java | 66 +++++++++++++++++++ .../BlackBoxInlineCodegenTestGenerated.java | 12 ++++ ...otlinAgainstInlineKotlinTestGenerated.java | 12 ++++ .../IrBlackBoxCodegenTestGenerated.java | 66 +++++++++++++++++++ .../IrBlackBoxInlineCodegenTestGenerated.java | 12 ++++ ...otlinAgainstInlineKotlinTestGenerated.java | 12 ++++ ...JvmIrAgainstOldBoxInlineTestGenerated.java | 12 ++++ ...JvmOldAgainstIrBoxInlineTestGenerated.java | 12 ++++ .../LightAnalysisModeTestGenerated.java | 55 ++++++++++++++++ .../IrJsCodegenBoxES6TestGenerated.java | 45 +++++++++++++ .../IrJsCodegenInlineES6TestGenerated.java | 5 ++ .../IrJsCodegenBoxTestGenerated.java | 45 +++++++++++++ .../IrJsCodegenInlineTestGenerated.java | 5 ++ .../semantics/JsCodegenBoxTestGenerated.java | 45 +++++++++++++ .../JsCodegenInlineTestGenerated.java | 5 ++ .../IrCodegenBoxWasmTestGenerated.java | 15 +++++ 31 files changed, 826 insertions(+) create mode 100644 compiler/testData/codegen/box/callableReference/bound/genericBoundPropertyAsCrossinline.kt create mode 100644 compiler/testData/codegen/box/contracts/nestedLambdaInNonInlineCallExactlyOnce.kt create mode 100644 compiler/testData/codegen/box/coroutines/localFunctions/named/callTopLevelFromLocal.kt create mode 100644 compiler/testData/codegen/box/inlineClasses/customIterator.kt create mode 100644 compiler/testData/codegen/box/jvmStatic/extensionPropertyGetter.kt create mode 100644 compiler/testData/codegen/box/localClasses/defaultParameterInConstructor.kt create mode 100644 compiler/testData/codegen/box/objects/kt32351.kt create mode 100644 compiler/testData/codegen/box/objects/kt32749.kt create mode 100644 compiler/testData/codegen/box/operatorConventions/kt44647.kt create mode 100644 compiler/testData/codegen/box/properties/lateinit/privateVarInCompanion.kt create mode 100644 compiler/testData/codegen/box/visibility/protectedAndPackage/kt42012.kt create mode 100644 compiler/testData/codegen/boxInline/anonymousObject/kt30696.kt create mode 100644 compiler/testData/codegen/boxInline/callableReference/bound/kt30933.kt diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxCodegenTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxCodegenTestGenerated.java index 483e39195d3..5717b5cacbb 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxCodegenTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxCodegenTestGenerated.java @@ -2829,6 +2829,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT runTest("compiler/testData/codegen/box/callableReference/bound/enumEntryMember.kt"); } + @Test + @TestMetadata("genericBoundPropertyAsCrossinline.kt") + public void testGenericBoundPropertyAsCrossinline() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/bound/genericBoundPropertyAsCrossinline.kt"); + } + @Test @TestMetadata("genericValOnLHS.kt") public void testGenericValOnLHS() throws Exception { @@ -7238,6 +7244,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT runTest("compiler/testData/codegen/box/contracts/listAppend.kt"); } + @Test + @TestMetadata("nestedLambdaInNonInlineCallExactlyOnce.kt") + public void testNestedLambdaInNonInlineCallExactlyOnce() throws Exception { + runTest("compiler/testData/codegen/box/contracts/nestedLambdaInNonInlineCallExactlyOnce.kt"); + } + @Test @TestMetadata("valInWhen.kt") public void testValInWhen() throws Exception { @@ -10790,6 +10802,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions/named"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); } + @Test + @TestMetadata("callTopLevelFromLocal.kt") + public void testCallTopLevelFromLocal() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/callTopLevelFromLocal.kt"); + } + @Test @TestMetadata("capturedParameters.kt") public void testCapturedParameters() throws Exception { @@ -16990,6 +17008,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT runTest("compiler/testData/codegen/box/inlineClasses/crossinlineWithInlineClassInParameter.kt"); } + @Test + @TestMetadata("customIterator.kt") + public void testCustomIterator() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/customIterator.kt"); + } + @Test @TestMetadata("defaultFunctionsFromAnyForInlineClass.kt") public void testDefaultFunctionsFromAnyForInlineClass() throws Exception { @@ -22416,6 +22440,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT runTest("compiler/testData/codegen/box/jvmStatic/explicitObject.kt"); } + @Test + @TestMetadata("extensionPropertyGetter.kt") + public void testExtensionPropertyGetter() throws Exception { + runTest("compiler/testData/codegen/box/jvmStatic/extensionPropertyGetter.kt"); + } + @Test @TestMetadata("funAccess.kt") public void testFunAccess() throws Exception { @@ -22804,6 +22834,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT runTest("compiler/testData/codegen/box/localClasses/closureWithSelfInstantiation.kt"); } + @Test + @TestMetadata("defaultParameterInConstructor.kt") + public void testDefaultParameterInConstructor() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/defaultParameterInConstructor.kt"); + } + @Test @TestMetadata("inExtensionFunction.kt") public void testInExtensionFunction() throws Exception { @@ -24350,12 +24386,24 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT runTest("compiler/testData/codegen/box/objects/kt2822.kt"); } + @Test + @TestMetadata("kt32351.kt") + public void testKt32351() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt32351.kt"); + } + @Test @TestMetadata("kt3238.kt") public void testKt3238() throws Exception { runTest("compiler/testData/codegen/box/objects/kt3238.kt"); } + @Test + @TestMetadata("kt32749.kt") + public void testKt32749() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt32749.kt"); + } + @Test @TestMetadata("kt3684.kt") public void testKt3684() throws Exception { @@ -24942,6 +24990,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT runTest("compiler/testData/codegen/box/operatorConventions/kt4152.kt"); } + @Test + @TestMetadata("kt44647.kt") + public void testKt44647() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/kt44647.kt"); + } + @Test @TestMetadata("kt4987.kt") public void testKt4987() throws Exception { @@ -26807,6 +26861,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT runTest("compiler/testData/codegen/box/properties/lateinit/privateSetterViaSubclass.kt"); } + @Test + @TestMetadata("privateVarInCompanion.kt") + public void testPrivateVarInCompanion() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/privateVarInCompanion.kt"); + } + @Test @TestMetadata("simpleVar.kt") public void testSimpleVar() throws Exception { @@ -39573,6 +39633,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/visibility/protectedAndPackage"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); } + @Test + @TestMetadata("kt42012.kt") + public void testKt42012() throws Exception { + runTest("compiler/testData/codegen/box/visibility/protectedAndPackage/kt42012.kt"); + } + @Test @TestMetadata("overrideProtectedFunInPackage.kt") public void testOverrideProtectedFunInPackage() throws Exception { diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxInlineCodegenTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxInlineCodegenTestGenerated.java index c9b99edc41d..ba89e8032d5 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxInlineCodegenTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxInlineCodegenTestGenerated.java @@ -280,6 +280,12 @@ public class FirBlackBoxInlineCodegenTestGenerated extends AbstractFirBlackBoxIn runTest("compiler/testData/codegen/boxInline/anonymousObject/kt29595.kt"); } + @Test + @TestMetadata("kt30696.kt") + public void testKt30696() throws Exception { + runTest("compiler/testData/codegen/boxInline/anonymousObject/kt30696.kt"); + } + @Test @TestMetadata("kt34656.kt") public void testKt34656() throws Exception { @@ -1159,6 +1165,12 @@ public class FirBlackBoxInlineCodegenTestGenerated extends AbstractFirBlackBoxIn runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt"); } + @Test + @TestMetadata("kt30933.kt") + public void testKt30933() throws Exception { + runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt30933.kt"); + } + @Test @TestMetadata("lambdaOnLhs.kt") public void testLambdaOnLhs() throws Exception { diff --git a/compiler/testData/codegen/box/callableReference/bound/genericBoundPropertyAsCrossinline.kt b/compiler/testData/codegen/box/callableReference/bound/genericBoundPropertyAsCrossinline.kt new file mode 100644 index 00000000000..adc5ed04381 --- /dev/null +++ b/compiler/testData/codegen/box/callableReference/bound/genericBoundPropertyAsCrossinline.kt @@ -0,0 +1,41 @@ +// IGNORE_BACKEND: JVM +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS +// KT-30629 + +abstract class BaseFragment { + lateinit var viewModel: T + + open fun onActivityCreated(): String { + viewModel = retrieveViewModel() + return "Fail" + } + + abstract fun retrieveViewModel(): T +} + +class DerivedFragment : BaseFragment() { + override fun onActivityCreated(): String { + super.onActivityCreated() + + return bind(viewModel::property) + } + + override fun retrieveViewModel(): DerivedViewModel = DerivedViewModel() + inline fun bind(crossinline viewModelGet: () -> T?): String { + return setOnFocusChangeListener { viewModelGet() as String } + } + + fun setOnFocusChangeListener(l: () -> String): String { + return l() + } +} + +abstract class BaseViewModel +class DerivedViewModel : BaseViewModel() { + var property: String? = "OK" +} + +fun box(): String { + return DerivedFragment().onActivityCreated() +} diff --git a/compiler/testData/codegen/box/contracts/nestedLambdaInNonInlineCallExactlyOnce.kt b/compiler/testData/codegen/box/contracts/nestedLambdaInNonInlineCallExactlyOnce.kt new file mode 100644 index 00000000000..716786eb9ba --- /dev/null +++ b/compiler/testData/codegen/box/contracts/nestedLambdaInNonInlineCallExactlyOnce.kt @@ -0,0 +1,27 @@ +// !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts +// IGNORE_BACKEND: JVM +// WITH_RUNTIME +// KT-38849 + +import kotlin.contracts.* + +fun block(lambda: () -> Unit) { + contract { + callsInPlace(lambda, InvocationKind.EXACTLY_ONCE) + } + lambda() +} + +fun box(): String { + val list: List + + block { + list = listOf(1, 2, 3) + } + + block { + if (listOf(2, 3, 4).first { list.contains(it) } != 2) throw AssertionError("Fail") + } + + return "OK" +} diff --git a/compiler/testData/codegen/box/coroutines/localFunctions/named/callTopLevelFromLocal.kt b/compiler/testData/codegen/box/coroutines/localFunctions/named/callTopLevelFromLocal.kt new file mode 100644 index 00000000000..e8c3432d6d8 --- /dev/null +++ b/compiler/testData/codegen/box/coroutines/localFunctions/named/callTopLevelFromLocal.kt @@ -0,0 +1,32 @@ +// IGNORE_BACKEND: JVM +// WITH_RUNTIME +// WITH_COROUTINES +// KT-30041 + +import helpers.* +import kotlin.coroutines.* + +var result = 0 + +fun builder(block: suspend () -> Unit) { + block.startCoroutine(EmptyContinuation) +} + +suspend fun test() { + suspend fun local() { + builder { + if (result++ < 1) { + local() + } + } + } + + local() +} + +fun box(): String { + builder { + test() + } + return if (result == 2) "OK" else "Fail: $result" +} diff --git a/compiler/testData/codegen/box/inlineClasses/customIterator.kt b/compiler/testData/codegen/box/inlineClasses/customIterator.kt new file mode 100644 index 00000000000..a693afea492 --- /dev/null +++ b/compiler/testData/codegen/box/inlineClasses/customIterator.kt @@ -0,0 +1,25 @@ +// IGNORE_BACKEND: JVM +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_TEXT +// WITH_RUNTIME +// KT-44529 + +inline class InlineDouble3(val values: DoubleArray) { + operator fun iterator(): DoubleIterator = IteratorImpl(values) +} + +// This iterator returns the first 3 elements of this.values +private class IteratorImpl(private val values: DoubleArray) : DoubleIterator() { + private var index = 0 + override fun hasNext(): Boolean = index < 3 + override fun nextDouble(): Double = values[index++] +} + +fun box(): String { + val values = doubleArrayOf(1.0, 2.0, 3.0, 4.0) + var result = "" + for (i in InlineDouble3(values)) { + result += i.toString().substring(0, 1) + } + return if (result == "123") "OK" else "Fail: $result" +} diff --git a/compiler/testData/codegen/box/jvmStatic/extensionPropertyGetter.kt b/compiler/testData/codegen/box/jvmStatic/extensionPropertyGetter.kt new file mode 100644 index 00000000000..72bff4c7570 --- /dev/null +++ b/compiler/testData/codegen/box/jvmStatic/extensionPropertyGetter.kt @@ -0,0 +1,23 @@ +// TARGET_BACKEND: JVM +// IGNORE_BACKEND: JVM +// WITH_RUNTIME +// KT-42990 + +object O { + val todo: String = TODO() + + fun test(): Int = Bar(todo.bar).result + + val String.bar: Int + @JvmStatic + get() = 42 +} + +class Bar(val result: Int) + +fun box(): String = try { + O.test() + "Fail" +} catch (e: NotImplementedError) { + "OK" +} diff --git a/compiler/testData/codegen/box/localClasses/defaultParameterInConstructor.kt b/compiler/testData/codegen/box/localClasses/defaultParameterInConstructor.kt new file mode 100644 index 00000000000..5f4e69077b9 --- /dev/null +++ b/compiler/testData/codegen/box/localClasses/defaultParameterInConstructor.kt @@ -0,0 +1,13 @@ +// IGNORE_BACKEND: JVM +// KT-44631 + +class Something(val now: String) + +fun box(): String { + val a: Something.() -> String = { + class MyEvent(val result: String = now) + + MyEvent().result + } + return Something("OK").a() +} diff --git a/compiler/testData/codegen/box/objects/kt32351.kt b/compiler/testData/codegen/box/objects/kt32351.kt new file mode 100644 index 00000000000..4636ad9616d --- /dev/null +++ b/compiler/testData/codegen/box/objects/kt32351.kt @@ -0,0 +1,27 @@ +// IGNORE_BACKEND: JVM +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNKNOWN +// WITH_RUNTIME + +interface Runnable { + fun run() +} + +class AnonymousClassInLambda { + fun run(): Int { + var x = 0 + val threads = (1..10).map { + object : Runnable { + override fun run() { + x++ + } + } + } + threads.forEach { it.run() } + return x + } +} + +fun box(): String { + return if (AnonymousClassInLambda().run() == 10) "OK" else "Fail" +} diff --git a/compiler/testData/codegen/box/objects/kt32749.kt b/compiler/testData/codegen/box/objects/kt32749.kt new file mode 100644 index 00000000000..7aeac240fea --- /dev/null +++ b/compiler/testData/codegen/box/objects/kt32749.kt @@ -0,0 +1,20 @@ +// IGNORE_BACKEND: JVM +// WITH_RUNTIME + +class X { + val num = 42 + val map: Int = 1.apply { + object : Y({ true }) { + override fun fun1() { + println(num) + } + } + } +} + +abstract class Y(val lambda: () -> Boolean) { + abstract fun fun1() +} + +fun box(): String = + if (X().map == 1) "OK" else "Fail" diff --git a/compiler/testData/codegen/box/operatorConventions/kt44647.kt b/compiler/testData/codegen/box/operatorConventions/kt44647.kt new file mode 100644 index 00000000000..252c6bae01f --- /dev/null +++ b/compiler/testData/codegen/box/operatorConventions/kt44647.kt @@ -0,0 +1,11 @@ +// IGNORE_BACKEND: JVM +// IGNORE_LIGHT_ANALYSIS +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER +// WITH_RUNTIME + +fun box(): String { + val sb = StringBuilder("NK") + sb[0]++ + return sb.toString() +} diff --git a/compiler/testData/codegen/box/properties/lateinit/privateVarInCompanion.kt b/compiler/testData/codegen/box/properties/lateinit/privateVarInCompanion.kt new file mode 100644 index 00000000000..c651457ace9 --- /dev/null +++ b/compiler/testData/codegen/box/properties/lateinit/privateVarInCompanion.kt @@ -0,0 +1,26 @@ +// IGNORE_BACKEND: JVM +// KT-44234 + +class App { + val context: Context = Context() + + fun onCreate() { + instance = this + } + + companion object { + private lateinit var instance: App set + val context: Context get() = instance.context + } + +} + +class Context { + fun print(): String = "OK" +} + +fun box(): String { + val app = App() + app.onCreate() + return App.context.print() +} diff --git a/compiler/testData/codegen/box/visibility/protectedAndPackage/kt42012.kt b/compiler/testData/codegen/box/visibility/protectedAndPackage/kt42012.kt new file mode 100644 index 00000000000..78671eab885 --- /dev/null +++ b/compiler/testData/codegen/box/visibility/protectedAndPackage/kt42012.kt @@ -0,0 +1,36 @@ +// IGNORE_BACKEND: JVM +// TARGET_BACKEND: JVM +// MODULE: lib +// FILE: test/Parent.java + +package test; + +public class Parent { + protected String qqq = ""; + + public String getQqq() { + return qqq; + } +} + +// MODULE: main(lib) +// FILE: 1.kt + +import test.Parent + +open class Child : Parent() { + inner class QQQ { + fun z(x: Parent?) { + x as Child + val q = x.qqq + x.qqq = q + "OK" + } + } +} + +fun box(): String { + val c = Child() + val d = c.QQQ() + d.z(c) + return c.qqq +} diff --git a/compiler/testData/codegen/boxInline/anonymousObject/kt30696.kt b/compiler/testData/codegen/boxInline/anonymousObject/kt30696.kt new file mode 100644 index 00000000000..8b46643d3ae --- /dev/null +++ b/compiler/testData/codegen/boxInline/anonymousObject/kt30696.kt @@ -0,0 +1,22 @@ +// TARGET_BACKEND: JVM +// NO_CHECK_LAMBDA_INLINING +// WITH_RUNTIME +// IGNORE_BACKEND: JVM +// IGNORE_BACKEND_MULTI_MODULE: JVM, JVM_IR, JVM_MULTI_MODULE_OLD_AGAINST_IR, JVM_MULTI_MODULE_IR_AGAINST_OLD +// FILE: 1.kt + +interface Flow { + val result: String +} + +inline fun foo() = + object { + fun test() = object : Flow { + override val result: String = "OK" + } + }.test() + +// FILE: 2.kt + +fun box(): String = + foo().result diff --git a/compiler/testData/codegen/boxInline/callableReference/bound/kt30933.kt b/compiler/testData/codegen/boxInline/callableReference/bound/kt30933.kt new file mode 100644 index 00000000000..e79c4c38161 --- /dev/null +++ b/compiler/testData/codegen/boxInline/callableReference/bound/kt30933.kt @@ -0,0 +1,21 @@ +// IGNORE_BACKEND: JVM +// FILE: 1.kt + +package test + +class Path { + val events: String = "OK" +} + +inline fun doSomething(path: Path): String { + val f = path::events + return f() +} + +// FILE: 2.kt + +import test.* + +fun box(): String { + return doSomething(Path()) +} diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java index 881b0294160..6b2921c3420 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java @@ -2829,6 +2829,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { runTest("compiler/testData/codegen/box/callableReference/bound/enumEntryMember.kt"); } + @Test + @TestMetadata("genericBoundPropertyAsCrossinline.kt") + public void testGenericBoundPropertyAsCrossinline() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/bound/genericBoundPropertyAsCrossinline.kt"); + } + @Test @TestMetadata("genericValOnLHS.kt") public void testGenericValOnLHS() throws Exception { @@ -7238,6 +7244,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { runTest("compiler/testData/codegen/box/contracts/listAppend.kt"); } + @Test + @TestMetadata("nestedLambdaInNonInlineCallExactlyOnce.kt") + public void testNestedLambdaInNonInlineCallExactlyOnce() throws Exception { + runTest("compiler/testData/codegen/box/contracts/nestedLambdaInNonInlineCallExactlyOnce.kt"); + } + @Test @TestMetadata("valInWhen.kt") public void testValInWhen() throws Exception { @@ -10790,6 +10802,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions/named"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true); } + @Test + @TestMetadata("callTopLevelFromLocal.kt") + public void testCallTopLevelFromLocal() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/callTopLevelFromLocal.kt"); + } + @Test @TestMetadata("capturedParameters.kt") public void testCapturedParameters() throws Exception { @@ -16990,6 +17008,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { runTest("compiler/testData/codegen/box/inlineClasses/crossinlineWithInlineClassInParameter.kt"); } + @Test + @TestMetadata("customIterator.kt") + public void testCustomIterator() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/customIterator.kt"); + } + @Test @TestMetadata("defaultFunctionsFromAnyForInlineClass.kt") public void testDefaultFunctionsFromAnyForInlineClass() throws Exception { @@ -22416,6 +22440,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { runTest("compiler/testData/codegen/box/jvmStatic/explicitObject.kt"); } + @Test + @TestMetadata("extensionPropertyGetter.kt") + public void testExtensionPropertyGetter() throws Exception { + runTest("compiler/testData/codegen/box/jvmStatic/extensionPropertyGetter.kt"); + } + @Test @TestMetadata("funAccess.kt") public void testFunAccess() throws Exception { @@ -22804,6 +22834,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { runTest("compiler/testData/codegen/box/localClasses/closureWithSelfInstantiation.kt"); } + @Test + @TestMetadata("defaultParameterInConstructor.kt") + public void testDefaultParameterInConstructor() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/defaultParameterInConstructor.kt"); + } + @Test @TestMetadata("inExtensionFunction.kt") public void testInExtensionFunction() throws Exception { @@ -24350,12 +24386,24 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { runTest("compiler/testData/codegen/box/objects/kt2822.kt"); } + @Test + @TestMetadata("kt32351.kt") + public void testKt32351() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt32351.kt"); + } + @Test @TestMetadata("kt3238.kt") public void testKt3238() throws Exception { runTest("compiler/testData/codegen/box/objects/kt3238.kt"); } + @Test + @TestMetadata("kt32749.kt") + public void testKt32749() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt32749.kt"); + } + @Test @TestMetadata("kt3684.kt") public void testKt3684() throws Exception { @@ -25148,6 +25196,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { runTest("compiler/testData/codegen/box/operatorConventions/kt4152.kt"); } + @Test + @TestMetadata("kt44647.kt") + public void testKt44647() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/kt44647.kt"); + } + @Test @TestMetadata("kt4987.kt") public void testKt4987() throws Exception { @@ -27013,6 +27067,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { runTest("compiler/testData/codegen/box/properties/lateinit/privateSetterViaSubclass.kt"); } + @Test + @TestMetadata("privateVarInCompanion.kt") + public void testPrivateVarInCompanion() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/privateVarInCompanion.kt"); + } + @Test @TestMetadata("simpleVar.kt") public void testSimpleVar() throws Exception { @@ -39779,6 +39839,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/visibility/protectedAndPackage"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true); } + @Test + @TestMetadata("kt42012.kt") + public void testKt42012() throws Exception { + runTest("compiler/testData/codegen/box/visibility/protectedAndPackage/kt42012.kt"); + } + @Test @TestMetadata("overrideProtectedFunInPackage.kt") public void testOverrideProtectedFunInPackage() throws Exception { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxInlineCodegenTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxInlineCodegenTestGenerated.java index 72138fbfd89..c5518687452 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxInlineCodegenTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxInlineCodegenTestGenerated.java @@ -280,6 +280,12 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo runTest("compiler/testData/codegen/boxInline/anonymousObject/kt29595.kt"); } + @Test + @TestMetadata("kt30696.kt") + public void testKt30696() throws Exception { + runTest("compiler/testData/codegen/boxInline/anonymousObject/kt30696.kt"); + } + @Test @TestMetadata("kt34656.kt") public void testKt34656() throws Exception { @@ -1159,6 +1165,12 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt"); } + @Test + @TestMetadata("kt30933.kt") + public void testKt30933() throws Exception { + runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt30933.kt"); + } + @Test @TestMetadata("lambdaOnLhs.kt") public void testLambdaOnLhs() throws Exception { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/CompileKotlinAgainstInlineKotlinTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/CompileKotlinAgainstInlineKotlinTestGenerated.java index d0f0178aca3..5e2563c6f44 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/CompileKotlinAgainstInlineKotlinTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/CompileKotlinAgainstInlineKotlinTestGenerated.java @@ -280,6 +280,12 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi runTest("compiler/testData/codegen/boxInline/anonymousObject/kt29595.kt"); } + @Test + @TestMetadata("kt30696.kt") + public void testKt30696() throws Exception { + runTest("compiler/testData/codegen/boxInline/anonymousObject/kt30696.kt"); + } + @Test @TestMetadata("kt34656.kt") public void testKt34656() throws Exception { @@ -1159,6 +1165,12 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt"); } + @Test + @TestMetadata("kt30933.kt") + public void testKt30933() throws Exception { + runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt30933.kt"); + } + @Test @TestMetadata("lambdaOnLhs.kt") public void testLambdaOnLhs() throws Exception { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java index fe98e42f7e8..c7dd2e03258 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java @@ -2829,6 +2829,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/callableReference/bound/enumEntryMember.kt"); } + @Test + @TestMetadata("genericBoundPropertyAsCrossinline.kt") + public void testGenericBoundPropertyAsCrossinline() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/bound/genericBoundPropertyAsCrossinline.kt"); + } + @Test @TestMetadata("genericValOnLHS.kt") public void testGenericValOnLHS() throws Exception { @@ -7238,6 +7244,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/contracts/listAppend.kt"); } + @Test + @TestMetadata("nestedLambdaInNonInlineCallExactlyOnce.kt") + public void testNestedLambdaInNonInlineCallExactlyOnce() throws Exception { + runTest("compiler/testData/codegen/box/contracts/nestedLambdaInNonInlineCallExactlyOnce.kt"); + } + @Test @TestMetadata("valInWhen.kt") public void testValInWhen() throws Exception { @@ -10790,6 +10802,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions/named"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); } + @Test + @TestMetadata("callTopLevelFromLocal.kt") + public void testCallTopLevelFromLocal() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/callTopLevelFromLocal.kt"); + } + @Test @TestMetadata("capturedParameters.kt") public void testCapturedParameters() throws Exception { @@ -16990,6 +17008,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/inlineClasses/crossinlineWithInlineClassInParameter.kt"); } + @Test + @TestMetadata("customIterator.kt") + public void testCustomIterator() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/customIterator.kt"); + } + @Test @TestMetadata("defaultFunctionsFromAnyForInlineClass.kt") public void testDefaultFunctionsFromAnyForInlineClass() throws Exception { @@ -22416,6 +22440,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/jvmStatic/explicitObject.kt"); } + @Test + @TestMetadata("extensionPropertyGetter.kt") + public void testExtensionPropertyGetter() throws Exception { + runTest("compiler/testData/codegen/box/jvmStatic/extensionPropertyGetter.kt"); + } + @Test @TestMetadata("funAccess.kt") public void testFunAccess() throws Exception { @@ -22804,6 +22834,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/localClasses/closureWithSelfInstantiation.kt"); } + @Test + @TestMetadata("defaultParameterInConstructor.kt") + public void testDefaultParameterInConstructor() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/defaultParameterInConstructor.kt"); + } + @Test @TestMetadata("inExtensionFunction.kt") public void testInExtensionFunction() throws Exception { @@ -24350,12 +24386,24 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/objects/kt2822.kt"); } + @Test + @TestMetadata("kt32351.kt") + public void testKt32351() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt32351.kt"); + } + @Test @TestMetadata("kt3238.kt") public void testKt3238() throws Exception { runTest("compiler/testData/codegen/box/objects/kt3238.kt"); } + @Test + @TestMetadata("kt32749.kt") + public void testKt32749() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt32749.kt"); + } + @Test @TestMetadata("kt3684.kt") public void testKt3684() throws Exception { @@ -24942,6 +24990,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/operatorConventions/kt4152.kt"); } + @Test + @TestMetadata("kt44647.kt") + public void testKt44647() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/kt44647.kt"); + } + @Test @TestMetadata("kt4987.kt") public void testKt4987() throws Exception { @@ -26807,6 +26861,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/properties/lateinit/privateSetterViaSubclass.kt"); } + @Test + @TestMetadata("privateVarInCompanion.kt") + public void testPrivateVarInCompanion() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/privateVarInCompanion.kt"); + } + @Test @TestMetadata("simpleVar.kt") public void testSimpleVar() throws Exception { @@ -39573,6 +39633,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/visibility/protectedAndPackage"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); } + @Test + @TestMetadata("kt42012.kt") + public void testKt42012() throws Exception { + runTest("compiler/testData/codegen/box/visibility/protectedAndPackage/kt42012.kt"); + } + @Test @TestMetadata("overrideProtectedFunInPackage.kt") public void testOverrideProtectedFunInPackage() throws Exception { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxInlineCodegenTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxInlineCodegenTestGenerated.java index 58f7c16bd5b..923d5b8216d 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxInlineCodegenTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxInlineCodegenTestGenerated.java @@ -280,6 +280,12 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli runTest("compiler/testData/codegen/boxInline/anonymousObject/kt29595.kt"); } + @Test + @TestMetadata("kt30696.kt") + public void testKt30696() throws Exception { + runTest("compiler/testData/codegen/boxInline/anonymousObject/kt30696.kt"); + } + @Test @TestMetadata("kt34656.kt") public void testKt34656() throws Exception { @@ -1159,6 +1165,12 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt"); } + @Test + @TestMetadata("kt30933.kt") + public void testKt30933() throws Exception { + runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt30933.kt"); + } + @Test @TestMetadata("lambdaOnLhs.kt") public void testLambdaOnLhs() throws Exception { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrCompileKotlinAgainstInlineKotlinTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrCompileKotlinAgainstInlineKotlinTestGenerated.java index 656b29eb9e4..77a112550c6 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrCompileKotlinAgainstInlineKotlinTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrCompileKotlinAgainstInlineKotlinTestGenerated.java @@ -280,6 +280,12 @@ public class IrCompileKotlinAgainstInlineKotlinTestGenerated extends AbstractIrC runTest("compiler/testData/codegen/boxInline/anonymousObject/kt29595.kt"); } + @Test + @TestMetadata("kt30696.kt") + public void testKt30696() throws Exception { + runTest("compiler/testData/codegen/boxInline/anonymousObject/kt30696.kt"); + } + @Test @TestMetadata("kt34656.kt") public void testKt34656() throws Exception { @@ -1159,6 +1165,12 @@ public class IrCompileKotlinAgainstInlineKotlinTestGenerated extends AbstractIrC runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt"); } + @Test + @TestMetadata("kt30933.kt") + public void testKt30933() throws Exception { + runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt30933.kt"); + } + @Test @TestMetadata("lambdaOnLhs.kt") public void testLambdaOnLhs() throws Exception { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/JvmIrAgainstOldBoxInlineTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/JvmIrAgainstOldBoxInlineTestGenerated.java index d50581746ff..fc5e88ed307 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/JvmIrAgainstOldBoxInlineTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/JvmIrAgainstOldBoxInlineTestGenerated.java @@ -280,6 +280,12 @@ public class JvmIrAgainstOldBoxInlineTestGenerated extends AbstractJvmIrAgainstO runTest("compiler/testData/codegen/boxInline/anonymousObject/kt29595.kt"); } + @Test + @TestMetadata("kt30696.kt") + public void testKt30696() throws Exception { + runTest("compiler/testData/codegen/boxInline/anonymousObject/kt30696.kt"); + } + @Test @TestMetadata("kt34656.kt") public void testKt34656() throws Exception { @@ -1159,6 +1165,12 @@ public class JvmIrAgainstOldBoxInlineTestGenerated extends AbstractJvmIrAgainstO runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt"); } + @Test + @TestMetadata("kt30933.kt") + public void testKt30933() throws Exception { + runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt30933.kt"); + } + @Test @TestMetadata("lambdaOnLhs.kt") public void testLambdaOnLhs() throws Exception { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/JvmOldAgainstIrBoxInlineTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/JvmOldAgainstIrBoxInlineTestGenerated.java index cb3218d01f0..0595eeddb3f 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/JvmOldAgainstIrBoxInlineTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/JvmOldAgainstIrBoxInlineTestGenerated.java @@ -280,6 +280,12 @@ public class JvmOldAgainstIrBoxInlineTestGenerated extends AbstractJvmOldAgainst runTest("compiler/testData/codegen/boxInline/anonymousObject/kt29595.kt"); } + @Test + @TestMetadata("kt30696.kt") + public void testKt30696() throws Exception { + runTest("compiler/testData/codegen/boxInline/anonymousObject/kt30696.kt"); + } + @Test @TestMetadata("kt34656.kt") public void testKt34656() throws Exception { @@ -1159,6 +1165,12 @@ public class JvmOldAgainstIrBoxInlineTestGenerated extends AbstractJvmOldAgainst runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt"); } + @Test + @TestMetadata("kt30933.kt") + public void testKt30933() throws Exception { + runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt30933.kt"); + } + @Test @TestMetadata("lambdaOnLhs.kt") public void testLambdaOnLhs() throws Exception { diff --git a/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java b/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java index e970f3d16d1..6de3b5de938 100644 --- a/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java +++ b/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java @@ -2415,6 +2415,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) public static class Bound extends AbstractLightAnalysisModeTest { + @TestMetadata("genericBoundPropertyAsCrossinline.kt") + public void ignoreGenericBoundPropertyAsCrossinline() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/bound/genericBoundPropertyAsCrossinline.kt"); + } + private void runTest(String testDataFilePath) throws Exception { KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath); } @@ -5506,6 +5511,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) public static class Contracts extends AbstractLightAnalysisModeTest { + @TestMetadata("nestedLambdaInNonInlineCallExactlyOnce.kt") + public void ignoreNestedLambdaInNonInlineCallExactlyOnce() throws Exception { + runTest("compiler/testData/codegen/box/contracts/nestedLambdaInNonInlineCallExactlyOnce.kt"); + } + private void runTest(String testDataFilePath) throws Exception { KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath); } @@ -8656,6 +8666,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) public static class Named extends AbstractLightAnalysisModeTest { + @TestMetadata("callTopLevelFromLocal.kt") + public void ignoreCallTopLevelFromLocal() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/callTopLevelFromLocal.kt"); + } + @TestMetadata("defaultArgument.kt") public void ignoreDefaultArgument() throws Exception { runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/defaultArgument.kt"); @@ -13946,6 +13961,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes runTest("compiler/testData/codegen/box/inlineClasses/anySuperCall.kt"); } + @TestMetadata("customIterator.kt") + public void ignoreCustomIterator() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/customIterator.kt"); + } + @TestMetadata("inlineClassWithCustomEquals.kt") public void ignoreInlineClassWithCustomEquals() throws Exception { runTest("compiler/testData/codegen/box/inlineClasses/inlineClassWithCustomEquals.kt"); @@ -18888,6 +18908,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) public static class JvmStatic extends AbstractLightAnalysisModeTest { + @TestMetadata("extensionPropertyGetter.kt") + public void ignoreExtensionPropertyGetter() throws Exception { + runTest("compiler/testData/codegen/box/jvmStatic/extensionPropertyGetter.kt"); + } + private void runTest(String testDataFilePath) throws Exception { KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath); } @@ -19250,6 +19275,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes runTest("compiler/testData/codegen/box/localClasses/closureWithSelfInstantiation.kt"); } + @TestMetadata("defaultParameterInConstructor.kt") + public void ignoreDefaultParameterInConstructor() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/defaultParameterInConstructor.kt"); + } + @TestMetadata("kt10835.kt") public void ignoreKt10835() throws Exception { runTest("compiler/testData/codegen/box/localClasses/kt10835.kt"); @@ -20530,6 +20560,16 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) public static class Objects extends AbstractLightAnalysisModeTest { + @TestMetadata("kt32351.kt") + public void ignoreKt32351() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt32351.kt"); + } + + @TestMetadata("kt32749.kt") + public void ignoreKt32749() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt32749.kt"); + } + private void runTest(String testDataFilePath) throws Exception { KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath); } @@ -21350,6 +21390,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) public static class OperatorConventions extends AbstractLightAnalysisModeTest { + @TestMetadata("kt44647.kt") + public void ignoreKt44647() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/kt44647.kt"); + } + private void runTest(String testDataFilePath) throws Exception { KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath); } @@ -22974,6 +23019,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes runTest("compiler/testData/codegen/box/properties/lateinit/kt30548.kt"); } + @TestMetadata("privateVarInCompanion.kt") + public void ignorePrivateVarInCompanion() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/privateVarInCompanion.kt"); + } + private void runTest(String testDataFilePath) throws Exception { KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath); } @@ -32039,6 +32089,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) public static class ProtectedAndPackage extends AbstractLightAnalysisModeTest { + @TestMetadata("kt42012.kt") + public void ignoreKt42012() throws Exception { + runTest("compiler/testData/codegen/box/visibility/protectedAndPackage/kt42012.kt"); + } + private void runTest(String testDataFilePath) throws Exception { KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath); } diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenBoxES6TestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenBoxES6TestGenerated.java index 576fd3cbf45..f1413024a07 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenBoxES6TestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenBoxES6TestGenerated.java @@ -1743,6 +1743,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes runTest("compiler/testData/codegen/box/callableReference/bound/enumEntryMember.kt"); } + @TestMetadata("genericBoundPropertyAsCrossinline.kt") + public void testGenericBoundPropertyAsCrossinline() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/bound/genericBoundPropertyAsCrossinline.kt"); + } + @TestMetadata("genericValOnLHS.kt") public void testGenericValOnLHS() throws Exception { runTest("compiler/testData/codegen/box/callableReference/bound/genericValOnLHS.kt"); @@ -4829,6 +4834,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes runTest("compiler/testData/codegen/box/contracts/listAppend.kt"); } + @TestMetadata("nestedLambdaInNonInlineCallExactlyOnce.kt") + public void testNestedLambdaInNonInlineCallExactlyOnce() throws Exception { + runTest("compiler/testData/codegen/box/contracts/nestedLambdaInNonInlineCallExactlyOnce.kt"); + } + @TestMetadata("valInWhen.kt") public void testValInWhen() throws Exception { runTest("compiler/testData/codegen/box/contracts/valInWhen.kt"); @@ -7749,6 +7759,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions/named"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true); } + @TestMetadata("callTopLevelFromLocal.kt") + public void testCallTopLevelFromLocal() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/callTopLevelFromLocal.kt"); + } + @TestMetadata("capturedParameters.kt") public void testCapturedParameters() throws Exception { runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/capturedParameters.kt"); @@ -12409,6 +12424,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes runTest("compiler/testData/codegen/box/inlineClasses/crossinlineWithInlineClassInParameter.kt"); } + @TestMetadata("customIterator.kt") + public void testCustomIterator() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/customIterator.kt"); + } + @TestMetadata("defaultFunctionsFromAnyForInlineClass.kt") public void testDefaultFunctionsFromAnyForInlineClass() throws Exception { runTest("compiler/testData/codegen/box/inlineClasses/defaultFunctionsFromAnyForInlineClass.kt"); @@ -15443,6 +15463,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes runTest("compiler/testData/codegen/box/localClasses/closureWithSelfInstantiation.kt"); } + @TestMetadata("defaultParameterInConstructor.kt") + public void testDefaultParameterInConstructor() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/defaultParameterInConstructor.kt"); + } + @TestMetadata("inExtensionFunction.kt") public void testInExtensionFunction() throws Exception { runTest("compiler/testData/codegen/box/localClasses/inExtensionFunction.kt"); @@ -16613,11 +16638,21 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes runTest("compiler/testData/codegen/box/objects/kt2822.kt"); } + @TestMetadata("kt32351.kt") + public void testKt32351() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt32351.kt"); + } + @TestMetadata("kt3238.kt") public void testKt3238() throws Exception { runTest("compiler/testData/codegen/box/objects/kt3238.kt"); } + @TestMetadata("kt32749.kt") + public void testKt32749() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt32749.kt"); + } + @TestMetadata("kt3684.kt") public void testKt3684() throws Exception { runTest("compiler/testData/codegen/box/objects/kt3684.kt"); @@ -17298,6 +17333,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes runTest("compiler/testData/codegen/box/operatorConventions/kt4152.kt"); } + @TestMetadata("kt44647.kt") + public void testKt44647() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/kt44647.kt"); + } + @TestMetadata("kt4987.kt") public void testKt4987() throws Exception { runTest("compiler/testData/codegen/box/operatorConventions/kt4987.kt"); @@ -18687,6 +18727,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes runTest("compiler/testData/codegen/box/properties/lateinit/privateSetterViaSubclass.kt"); } + @TestMetadata("privateVarInCompanion.kt") + public void testPrivateVarInCompanion() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/privateVarInCompanion.kt"); + } + @TestMetadata("simpleVar.kt") public void testSimpleVar() throws Exception { runTest("compiler/testData/codegen/box/properties/lateinit/simpleVar.kt"); diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenInlineES6TestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenInlineES6TestGenerated.java index 7873282c37d..cfbea859cb2 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenInlineES6TestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenInlineES6TestGenerated.java @@ -890,6 +890,11 @@ public class IrJsCodegenInlineES6TestGenerated extends AbstractIrJsCodegenInline runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt"); } + @TestMetadata("kt30933.kt") + public void testKt30933() throws Exception { + runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt30933.kt"); + } + @TestMetadata("lambdaOnLhs.kt") public void testLambdaOnLhs() throws Exception { runTest("compiler/testData/codegen/boxInline/callableReference/bound/lambdaOnLhs.kt"); diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/semantics/IrJsCodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/semantics/IrJsCodegenBoxTestGenerated.java index b57b4501bcc..9ece45229a7 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/semantics/IrJsCodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/semantics/IrJsCodegenBoxTestGenerated.java @@ -1743,6 +1743,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/callableReference/bound/enumEntryMember.kt"); } + @TestMetadata("genericBoundPropertyAsCrossinline.kt") + public void testGenericBoundPropertyAsCrossinline() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/bound/genericBoundPropertyAsCrossinline.kt"); + } + @TestMetadata("genericValOnLHS.kt") public void testGenericValOnLHS() throws Exception { runTest("compiler/testData/codegen/box/callableReference/bound/genericValOnLHS.kt"); @@ -4314,6 +4319,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/contracts/listAppend.kt"); } + @TestMetadata("nestedLambdaInNonInlineCallExactlyOnce.kt") + public void testNestedLambdaInNonInlineCallExactlyOnce() throws Exception { + runTest("compiler/testData/codegen/box/contracts/nestedLambdaInNonInlineCallExactlyOnce.kt"); + } + @TestMetadata("valInWhen.kt") public void testValInWhen() throws Exception { runTest("compiler/testData/codegen/box/contracts/valInWhen.kt"); @@ -7234,6 +7244,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions/named"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true); } + @TestMetadata("callTopLevelFromLocal.kt") + public void testCallTopLevelFromLocal() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/callTopLevelFromLocal.kt"); + } + @TestMetadata("capturedParameters.kt") public void testCapturedParameters() throws Exception { runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/capturedParameters.kt"); @@ -11894,6 +11909,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/inlineClasses/crossinlineWithInlineClassInParameter.kt"); } + @TestMetadata("customIterator.kt") + public void testCustomIterator() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/customIterator.kt"); + } + @TestMetadata("defaultFunctionsFromAnyForInlineClass.kt") public void testDefaultFunctionsFromAnyForInlineClass() throws Exception { runTest("compiler/testData/codegen/box/inlineClasses/defaultFunctionsFromAnyForInlineClass.kt"); @@ -14928,6 +14948,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/localClasses/closureWithSelfInstantiation.kt"); } + @TestMetadata("defaultParameterInConstructor.kt") + public void testDefaultParameterInConstructor() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/defaultParameterInConstructor.kt"); + } + @TestMetadata("inExtensionFunction.kt") public void testInExtensionFunction() throws Exception { runTest("compiler/testData/codegen/box/localClasses/inExtensionFunction.kt"); @@ -16098,11 +16123,21 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/objects/kt2822.kt"); } + @TestMetadata("kt32351.kt") + public void testKt32351() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt32351.kt"); + } + @TestMetadata("kt3238.kt") public void testKt3238() throws Exception { runTest("compiler/testData/codegen/box/objects/kt3238.kt"); } + @TestMetadata("kt32749.kt") + public void testKt32749() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt32749.kt"); + } + @TestMetadata("kt3684.kt") public void testKt3684() throws Exception { runTest("compiler/testData/codegen/box/objects/kt3684.kt"); @@ -16783,6 +16818,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/operatorConventions/kt4152.kt"); } + @TestMetadata("kt44647.kt") + public void testKt44647() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/kt44647.kt"); + } + @TestMetadata("kt4987.kt") public void testKt4987() throws Exception { runTest("compiler/testData/codegen/box/operatorConventions/kt4987.kt"); @@ -18172,6 +18212,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/properties/lateinit/privateSetterViaSubclass.kt"); } + @TestMetadata("privateVarInCompanion.kt") + public void testPrivateVarInCompanion() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/privateVarInCompanion.kt"); + } + @TestMetadata("simpleVar.kt") public void testSimpleVar() throws Exception { runTest("compiler/testData/codegen/box/properties/lateinit/simpleVar.kt"); diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/semantics/IrJsCodegenInlineTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/semantics/IrJsCodegenInlineTestGenerated.java index c2eb3216cec..edacdee1ae3 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/semantics/IrJsCodegenInlineTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/semantics/IrJsCodegenInlineTestGenerated.java @@ -890,6 +890,11 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt"); } + @TestMetadata("kt30933.kt") + public void testKt30933() throws Exception { + runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt30933.kt"); + } + @TestMetadata("lambdaOnLhs.kt") public void testLambdaOnLhs() throws Exception { runTest("compiler/testData/codegen/boxInline/callableReference/bound/lambdaOnLhs.kt"); diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java index 42e581345c0..09b27b46438 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java @@ -1743,6 +1743,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { runTest("compiler/testData/codegen/box/callableReference/bound/enumEntryMember.kt"); } + @TestMetadata("genericBoundPropertyAsCrossinline.kt") + public void testGenericBoundPropertyAsCrossinline() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/bound/genericBoundPropertyAsCrossinline.kt"); + } + @TestMetadata("genericValOnLHS.kt") public void testGenericValOnLHS() throws Exception { runTest("compiler/testData/codegen/box/callableReference/bound/genericValOnLHS.kt"); @@ -4314,6 +4319,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { runTest("compiler/testData/codegen/box/contracts/listAppend.kt"); } + @TestMetadata("nestedLambdaInNonInlineCallExactlyOnce.kt") + public void testNestedLambdaInNonInlineCallExactlyOnce() throws Exception { + runTest("compiler/testData/codegen/box/contracts/nestedLambdaInNonInlineCallExactlyOnce.kt"); + } + @TestMetadata("valInWhen.kt") public void testValInWhen() throws Exception { runTest("compiler/testData/codegen/box/contracts/valInWhen.kt"); @@ -7234,6 +7244,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions/named"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true); } + @TestMetadata("callTopLevelFromLocal.kt") + public void testCallTopLevelFromLocal() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/callTopLevelFromLocal.kt"); + } + @TestMetadata("capturedParameters.kt") public void testCapturedParameters() throws Exception { runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/capturedParameters.kt"); @@ -11959,6 +11974,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { runTest("compiler/testData/codegen/box/inlineClasses/crossinlineWithInlineClassInParameter.kt"); } + @TestMetadata("customIterator.kt") + public void testCustomIterator() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/customIterator.kt"); + } + @TestMetadata("defaultFunctionsFromAnyForInlineClass.kt") public void testDefaultFunctionsFromAnyForInlineClass() throws Exception { runTest("compiler/testData/codegen/box/inlineClasses/defaultFunctionsFromAnyForInlineClass.kt"); @@ -14993,6 +15013,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { runTest("compiler/testData/codegen/box/localClasses/closureWithSelfInstantiation.kt"); } + @TestMetadata("defaultParameterInConstructor.kt") + public void testDefaultParameterInConstructor() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/defaultParameterInConstructor.kt"); + } + @TestMetadata("inExtensionFunction.kt") public void testInExtensionFunction() throws Exception { runTest("compiler/testData/codegen/box/localClasses/inExtensionFunction.kt"); @@ -16163,11 +16188,21 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { runTest("compiler/testData/codegen/box/objects/kt2822.kt"); } + @TestMetadata("kt32351.kt") + public void testKt32351() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt32351.kt"); + } + @TestMetadata("kt3238.kt") public void testKt3238() throws Exception { runTest("compiler/testData/codegen/box/objects/kt3238.kt"); } + @TestMetadata("kt32749.kt") + public void testKt32749() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt32749.kt"); + } + @TestMetadata("kt3684.kt") public void testKt3684() throws Exception { runTest("compiler/testData/codegen/box/objects/kt3684.kt"); @@ -16853,6 +16888,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { runTest("compiler/testData/codegen/box/operatorConventions/kt4152.kt"); } + @TestMetadata("kt44647.kt") + public void testKt44647() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/kt44647.kt"); + } + @TestMetadata("kt4987.kt") public void testKt4987() throws Exception { runTest("compiler/testData/codegen/box/operatorConventions/kt4987.kt"); @@ -18227,6 +18267,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { runTest("compiler/testData/codegen/box/properties/lateinit/privateSetterViaSubclass.kt"); } + @TestMetadata("privateVarInCompanion.kt") + public void testPrivateVarInCompanion() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/privateVarInCompanion.kt"); + } + @TestMetadata("simpleVar.kt") public void testSimpleVar() throws Exception { runTest("compiler/testData/codegen/box/properties/lateinit/simpleVar.kt"); diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/semantics/JsCodegenInlineTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/semantics/JsCodegenInlineTestGenerated.java index 16d7521b1f4..edf8a2f4844 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/semantics/JsCodegenInlineTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/semantics/JsCodegenInlineTestGenerated.java @@ -890,6 +890,11 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest { runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt"); } + @TestMetadata("kt30933.kt") + public void testKt30933() throws Exception { + runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt30933.kt"); + } + @TestMetadata("lambdaOnLhs.kt") public void testLambdaOnLhs() throws Exception { runTest("compiler/testData/codegen/boxInline/callableReference/bound/lambdaOnLhs.kt"); diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/wasm/semantics/IrCodegenBoxWasmTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/wasm/semantics/IrCodegenBoxWasmTestGenerated.java index d0369ce3b16..72c3b85e92f 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/wasm/semantics/IrCodegenBoxWasmTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/wasm/semantics/IrCodegenBoxWasmTestGenerated.java @@ -8939,6 +8939,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest runTest("compiler/testData/codegen/box/localClasses/closureOfLambdaInLocalClass.kt"); } + @TestMetadata("defaultParameterInConstructor.kt") + public void testDefaultParameterInConstructor() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/defaultParameterInConstructor.kt"); + } + @TestMetadata("inExtensionFunction.kt") public void testInExtensionFunction() throws Exception { runTest("compiler/testData/codegen/box/localClasses/inExtensionFunction.kt"); @@ -9989,6 +9994,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest runTest("compiler/testData/codegen/box/objects/kt2822.kt"); } + @TestMetadata("kt32749.kt") + public void testKt32749() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt32749.kt"); + } + @TestMetadata("kt3684.kt") public void testKt3684() throws Exception { runTest("compiler/testData/codegen/box/objects/kt3684.kt"); @@ -11521,6 +11531,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest runTest("compiler/testData/codegen/box/properties/lateinit/privateSetterViaSubclass.kt"); } + @TestMetadata("privateVarInCompanion.kt") + public void testPrivateVarInCompanion() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/privateVarInCompanion.kt"); + } + @TestMetadata("simpleVar.kt") public void testSimpleVar() throws Exception { runTest("compiler/testData/codegen/box/properties/lateinit/simpleVar.kt");