[Gradle, JS] IR by default and report warnings for using legacy compiler
- just legacy - report warning about deprecation - both - report warning about deprecation of legacy - no compiler explicitly chosen - error about explicit setting compiler warn from cli legacy compiler nowarn flag - kotlin.js.compiler.nowarn KT-42326 KT-53074
This commit is contained in:
+1
@@ -35,6 +35,7 @@ where advanced options include:
|
||||
-Xir-safe-external-boolean Safe access via Boolean() to Boolean properties in externals to safely cast falsy values.
|
||||
-Xir-safe-external-boolean-diagnostic={log|exception}
|
||||
Enable runtime diagnostics when access safely to boolean in external declarations
|
||||
-Xlegacy-deprecated-no-warn Disable warnings of deprecation of legacy compiler
|
||||
-Xmetadata-only Generate *.meta.js and *.kjsm files only
|
||||
-Xpartial-linkage Allow unlinked symbols
|
||||
-Xrepositories=<path> Paths to additional places where libraries could be found
|
||||
|
||||
Reference in New Issue
Block a user