Add new jvm compilation key ignoreConstOptimizationErrors
This key suppose to be a workaround in keys if something goes wrong in ir interpreter.
This commit is contained in:
+6
@@ -518,6 +518,12 @@ Also sets `-jvm-target` value equal to the selected JDK version"""
|
||||
)
|
||||
var enableDebugMode: Boolean by FreezableVar(false)
|
||||
|
||||
@Argument(
|
||||
value = "-Xignore-const-optimization-errors",
|
||||
description = "Ignore all compilation exceptions while optimizing some constant expressions."
|
||||
)
|
||||
var ignoreConstOptimizationErrors: Boolean by FreezableVar(false)
|
||||
|
||||
override fun configureAnalysisFlags(collector: MessageCollector, languageVersion: LanguageVersion): MutableMap<AnalysisFlag<*>, Any> {
|
||||
val result = super.configureAnalysisFlags(collector, languageVersion)
|
||||
result[JvmAnalysisFlags.strictMetadataVersionSemantics] = strictMetadataVersionSemantics
|
||||
|
||||
Reference in New Issue
Block a user