[K2] Disable constants evaluation with native metadata compilation

^KT-63835 Fixed
This commit is contained in:
Ivan Kochurkin
2023-12-06 20:34:33 +01:00
committed by Space Team
parent ec4edbfcf2
commit 145958e284
10 changed files with 113 additions and 0 deletions
@@ -474,6 +474,9 @@ The default value is 1."""
it[AnalysisFlags.optIn] = optInList + listOf("kotlin.ExperimentalUnsignedTypes")
if (printIr)
phasesToDumpAfter = arrayOf("ALL")
if (metadataKlib) {
it[AnalysisFlags.metadataCompilation] = true
}
}
override fun checkIrSupport(languageVersionSettings: LanguageVersionSettings, collector: MessageCollector) {