上游 · Kotlin compiler options · Common
-verbose
Enable verbose logging output which includes details of the compilation process.
-version
Display the compiler version.
-X
Display information about the advanced options and exit. These options are currently unstable: their names and behavior may be changed without notice.
Kotlin contract options
The following options enable experimental Kotlin contract features.
-Xallow-contracts-on-more-functions
Enables contracts in additional declarations, including property accessors, specific operator functions, and type assertions on generic types.…