Explicit Api mode: prototype with check for missing explicit visibility
Add cli flag with 3-state switch
This commit is contained in:
+3
@@ -11,6 +11,9 @@ where advanced options include:
|
||||
-Xtyped-arrays Translate primitive arrays to JS typed arrays
|
||||
-Xallow-kotlin-package Allow compiling code in package 'kotlin' and allow not requiring kotlin.stdlib in module-info
|
||||
-Xallow-result-return-type Allow compiling code when `kotlin.Result` is used as a return type
|
||||
-Xapi-mode={enable|disable|migration}
|
||||
Enable api mode, force compiler to report errors an all public API declarations without explicit visibility.
|
||||
Use 'migration' level to issue warnings instead of errors.
|
||||
-Xcheck-phase-conditions Check pre- and postconditions on phases
|
||||
-Xcheck-sticky-phase-conditions
|
||||
Run sticky condition checks on subsequent phases as well. Implies -Xcheck-phase-conditions
|
||||
|
||||
Reference in New Issue
Block a user