Skip to content

Commit 604af65

Browse files
committed
Kotlin: Opt in to DeprecatedForRemovalCompilerApi
We'll need a proper fix for this, but this will keep things working in the meantime.
1 parent 709c111 commit 604af65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/kotlin-extractor/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ kt_javac_options(
8383
"kotlin.RequiresOptIn",
8484
"org.jetbrains.kotlin.ir.symbols.%s" %
8585
("IrSymbolInternals" if version_less(v, "2.0.0") else "UnsafeDuringIrConstructionAPI"),
86-
],
86+
] + ([] if version_less(v, "2.2.20") else ["org.jetbrains.kotlin.DeprecatedForRemovalCompilerApi"]),
8787
x_suppress_version_warnings = True,
8888
),
8989
# * extractor.name is different for each version, so we need to put it in different output dirs

0 commit comments

Comments
 (0)