Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ class ModuleNameCompilationTest : BaseCompilationTest() {
fun incrementalWithFirRunner(strategyConfig: CompilerExecutionStrategyConfiguration) {
jvmScenario(strategyConfig) {
val module1 = module("jvm-module-1", icOptionsConfigAction = {
@Suppress("DEPRECATION")
it[USE_FIR_RUNNER] = true
}, compilationConfigAction = {
it.compilerArguments[CommonCompilerArguments.X_USE_FIR_IC] = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ constructor(
*/
@JvmField
@ExperimentalCompilerArgument
@Deprecated("The FIR runner is deprecated and will be removed in a future version.")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we specify the exact planned version? Conservatively, if we deprecate it in 2.4.20, it should become an error in 2.6.0 and removed in 2.7.0
More aggressively (since it's explicitly experimental), probably we could make it an error in 2.5.0 and remove in 2.6.0

public val USE_FIR_RUNNER: Option<Boolean> = Option("USE_FIR_RUNNER", KotlinReleaseVersion(2, 3, 0))

/**
Expand Down Expand Up @@ -472,6 +473,7 @@ public interface JvmSnapshotBasedIncrementalCompilationOptions : BaseIncremental
*/
@JvmField
@ExperimentalCompilerArgument
@Deprecated("The FIR runner is deprecated and will be removed in a future version.")
public val USE_FIR_RUNNER: Option<Boolean> = Option("USE_FIR_RUNNER")

/**
Expand Down