Inspectopedia Help

Unused 'args' on 'main' since 1.4

Reports main function with an unused single parameter.

Since Kotlin 1.4, it is possible to use the main function without parameter as the entry point to the Kotlin program. The compiler reports a warning for the main function with an unused parameter.

Inspection Details

By default bundled with:

IntelliJ IDEA 2024.1, Qodana for JVM 2024.1,

Can be installed with plugin:

Kotlin, 241.16690-IJ

Last modified: 29 April 2024