[K2/K1 FP] Fix context-receivers flag passing in full-pipeline test

We should copy `-Xcontext-receivers` flag from the original arguments
during the setup of compiler arguments in the FP test

Otherwise, UNSUPPORTED_CONTEXTUAL_DECLARATION_CALL diagnostic gets
triggered where it shouldn't be present
This commit is contained in:
Simon Ogorodnik
2023-08-08 16:45:09 +02:00
committed by Space Team
parent f450122d63
commit d6e760b477
@@ -152,6 +152,7 @@ abstract class AbstractFullPipelineModularizedTest : AbstractModularizedTest() {
args.pluginClasspaths = originalArguments.pluginClasspaths?.mapNotNull {
substituteCompilerPluginPathForKnownPlugins(it)?.absolutePath
}?.toTypedArray()
args.contextReceivers = originalArguments.contextReceivers
} else {
args.jvmTarget = JVM_TARGET