Skip to content

Commit

Permalink
update: update js-ir-compiler.md wording
Browse files Browse the repository at this point in the history
  • Loading branch information
koshachy authored Aug 3, 2023
1 parent 2821c94 commit f8fb1a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/topics/js/js-ir-compiler.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ kotlin {
* `LEGACY` uses the old compiler backend.
* `BOTH` compiles your project with the new IR compiler as well as the default compiler backend. Use this mode for [authoring libraries compatible with both backends](#authoring-libraries-for-the-ir-compiler-with-backwards-compatibility).

The old compiler backend is deprecated since Kotlin 1.8.0. Starting with Kotlin 1.9.0 using compiler types `LEGACY` of `BOTH` leads to an error.
> The old compiler backend has been deprecated since Kotlin 1.8.0. Starting with Kotlin 1.9.0, using compiler types `LEGACY` of `BOTH` leads to an error.
>
{type="warning"}

The compiler type can also be set in the `gradle.properties` file, with the key `kotlin.js.compiler=ir`.
This behaviour is overwritten by any settings in the `build.gradle(.kts)`, however.
Expand Down

0 comments on commit f8fb1a4

Please sign in to comment.