Build: remove explicit enabling of RangeUntilOperator

This feature is enabled by default since 1.8. Using the `-XXLanguage`
compiler argument leads to big warnings which are distracting during the
build.
This commit is contained in:
Alexander Udalov
2023-06-22 12:46:56 +02:00
committed by Space Team
parent 2115d55e1c
commit ab195b68a5
7 changed files with 0 additions and 10 deletions
-2
View File
@@ -152,7 +152,6 @@ compileKotlin {
"-opt-in=kotlin.contracts.ExperimentalContracts",
"-Xuse-14-inline-classes-mangling-scheme",
"-Xbuiltins-from-sources",
"-XXLanguage:+RangeUntilOperator",
"-Xno-new-java-annotation-targets",
]
moduleName = "kotlin-stdlib"
@@ -197,7 +196,6 @@ compileTestKotlin {
"-opt-in=kotlin.ExperimentalStdlibApi",
"-opt-in=kotlin.io.path.ExperimentalPathApi",
"-opt-in=kotlin.io.encoding.ExperimentalEncodingApi",
"-XXLanguage:+RangeUntilOperator",
"-Xallow-kotlin-package", // TODO: maybe rename test packages
]
if (project.kotlinBuildProperties.useFir) {