Rename AnalysisFlags.useExperimental to optIn
This commit is contained in:
committed by
TeamCityServer
parent
aedcec7715
commit
007cf2ce7c
+2
-2
@@ -353,8 +353,8 @@ class K2NativeCompilerArguments : CommonCompilerArguments() {
|
||||
|
||||
override fun configureAnalysisFlags(collector: MessageCollector, languageVersion: LanguageVersion): MutableMap<AnalysisFlag<*>, Any> =
|
||||
super.configureAnalysisFlags(collector, languageVersion).also {
|
||||
val useExperimental = it[AnalysisFlags.useExperimental] as List<*>
|
||||
it[AnalysisFlags.useExperimental] = useExperimental + listOf("kotlin.ExperimentalUnsignedTypes")
|
||||
val optInList = it[AnalysisFlags.optIn] as List<*>
|
||||
it[AnalysisFlags.optIn] = optInList + listOf("kotlin.ExperimentalUnsignedTypes")
|
||||
if (printIr)
|
||||
phasesToDumpAfter = arrayOf("ALL")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user