From 3ee013aac641e34a9a47f506b8f9764eb4f62a53 Mon Sep 17 00:00:00 2001 From: Dmitriy Novozhilov Date: Thu, 7 Nov 2019 14:14:57 +0300 Subject: [PATCH] Change compiler flag for enabling mixed named argumetns in compiler project It's neccessary to avoid useless warnings until build --- compiler/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/build.gradle.kts b/compiler/build.gradle.kts index 5c8ab13bab0..a8c2bb2bf37 100644 --- a/compiler/build.gradle.kts +++ b/compiler/build.gradle.kts @@ -14,7 +14,7 @@ val newInferenceEnabled: Boolean by rootProject.extra configureFreeCompilerArg(effectSystemEnabled, "-Xeffect-system") configureFreeCompilerArg(newInferenceEnabled, "-Xnew-inference") -configureFreeCompilerArg(true, "-XXLanguage:+MixedNamedArgumentsInTheirOwnPosition") +configureFreeCompilerArg(true, "-Xuse-mixed-named-arguments") fun configureFreeCompilerArg(isEnabled: Boolean, compilerArgument: String) { if (isEnabled) {