FIR: Add analysis flag for loading IR builtins from sources
This commit is contained in:
committed by
TeamCityServer
parent
c2c02ddb27
commit
5b2acea98f
+8
@@ -369,6 +369,13 @@ abstract class CommonCompilerArguments : CommonToolArguments() {
|
||||
)
|
||||
var extendedCompilerChecks: Boolean by FreezableVar(false)
|
||||
|
||||
@GradleOption(DefaultValues.BooleanFalseDefault::class)
|
||||
@Argument(
|
||||
value = "-Xbuiltins-from-sources",
|
||||
description = "Compile builtIns from sources"
|
||||
)
|
||||
var builtInsFromSources: Boolean by FreezableVar(false)
|
||||
|
||||
@Argument(
|
||||
value = "-Xunrestricted-builder-inference",
|
||||
description = "Eliminate builder inference restrictions like allowance of returning type variables of a builder inference call"
|
||||
@@ -403,6 +410,7 @@ abstract class CommonCompilerArguments : CommonToolArguments() {
|
||||
)
|
||||
put(AnalysisFlags.extendedCompilerChecks, extendedCompilerChecks)
|
||||
put(AnalysisFlags.allowKotlinPackage, allowKotlinPackage)
|
||||
put(AnalysisFlags.builtInsFromSources, builtInsFromSources)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user