[CLI] Introduce compiler argument to suppress error about API version

...greater than language version.

^KT-63712
This commit is contained in:
Roman Efremov
2024-02-08 15:59:43 +01:00
committed by Space Team
parent 22a6ffab6f
commit 1f30d076de
10 changed files with 62 additions and 4 deletions
+3
View File
@@ -132,6 +132,9 @@ where advanced options include:
-Xself-upper-bound-inference Support inferring type arguments from the self-type upper bounds of the corresponding type parameters.
-Xskip-metadata-version-check Allow loading classes with bad metadata versions and pre-release classes.
-Xskip-prerelease-check Allow loading pre-release classes.
-Xsuppress-api-version-greater-than-language-version-error
Suppress error about API version greater than language version.
Warning: This is temporary solution (see KT-63712) intended to be used only for stdlib build.
-Xsuppress-version-warnings Suppress warnings about outdated, inconsistent, or experimental language or API versions.
-Xunrestricted-builder-inference
Eliminate builder inference restrictions, for example by allowing type variables to be returned from builder inference calls.