Other problems
- 'Enum.values()' is recommended to be replaced by 'Enum.getEntries()' since Kotlin 1.9
Reports calls from Java to values() method of Kotlin enum classes that can be replaced with getEntries().
- 'StringBuilder.append(CharArray, offset, len)' call on the JVM
Reports a StringBuilder.append(CharArray, offset, len) function call on the JVM platform that should be replaced with a StringBuilder.appendRange(CharArray, startIndex, endIndex) function call.
- Ambiguous actuals
Reports expect declarations that have ambiguous actual declarations in implementing multi-platform modules.
- Call to 'print()' or 'println()'
Reports usages of print or println.
- Diagnostic name should be replaced
Reports suppressions with old diagnostic names, for example @Suppress("HEADER_WITHOUT_IMPLEMENTATION").
- No actual for expect declaration
Reports expect declarations that do not have a corresponding actual declaration in an implementing multi-platform module.
- Script is not executable. Missing execute permission.
Highlights shebang lines in Kotlin scripts that are not executable due to missing execute permission.