Enable MixedNamedArgumentsInTheirOwnPosition feature in compiler module

This commit is contained in:
Dmitriy Novozhilov
2019-10-31 18:39:45 +03:00
parent 09fa15c22b
commit 27c70eedd9
+1
View File
@@ -14,6 +14,7 @@ val newInferenceEnabled: Boolean by rootProject.extra
configureFreeCompilerArg(effectSystemEnabled, "-Xeffect-system")
configureFreeCompilerArg(newInferenceEnabled, "-Xnew-inference")
configureFreeCompilerArg(true, "-XXLanguage:+MixedNamedArgumentsInTheirOwnPosition")
fun configureFreeCompilerArg(isEnabled: Boolean, compilerArgument: String) {
if (isEnabled) {