[K/N] Don't pass language version to the second stage.
This commit is contained in:
committed by
Space Team
parent
d6cefb363b
commit
9e7bb90e44
+1
-1
@@ -539,5 +539,5 @@ private object BinaryOptions {
|
|||||||
internal fun Settings.getStageDependentPipelineType(): PipelineType =
|
internal fun Settings.getStageDependentPipelineType(): PipelineType =
|
||||||
when (get<TestMode>()) {
|
when (get<TestMode>()) {
|
||||||
TestMode.ONE_STAGE_MULTI_MODULE -> get<PipelineType>()
|
TestMode.ONE_STAGE_MULTI_MODULE -> get<PipelineType>()
|
||||||
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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user