From 9e7bb90e4436e1ff0250f1d354d7855ea80bff26 Mon Sep 17 00:00:00 2001 From: Vladimir Sukharev Date: Thu, 26 Oct 2023 21:30:36 +0200 Subject: [PATCH] [K/N] Don't pass language version to the second stage. --- .../konan/test/blackbox/support/compilation/TestCompilation.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/native.tests/tests/org/jetbrains/kotlin/konan/test/blackbox/support/compilation/TestCompilation.kt b/native/native.tests/tests/org/jetbrains/kotlin/konan/test/blackbox/support/compilation/TestCompilation.kt index 90a9d0b85c8..8047e335ead 100644 --- a/native/native.tests/tests/org/jetbrains/kotlin/konan/test/blackbox/support/compilation/TestCompilation.kt +++ b/native/native.tests/tests/org/jetbrains/kotlin/konan/test/blackbox/support/compilation/TestCompilation.kt @@ -539,5 +539,5 @@ private object BinaryOptions { internal fun Settings.getStageDependentPipelineType(): PipelineType = when (get()) { TestMode.ONE_STAGE_MULTI_MODULE -> get() - TestMode.TWO_STAGE_MULTI_MODULE -> PipelineType.K1 // Don't pass "-language_version 2.0" to the second stage + TestMode.TWO_STAGE_MULTI_MODULE -> PipelineType.DEFAULT // Don't pass "-language_version" option to the second stage }