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

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3


Kotlin, @snapshot@

Last modified: 13 July 2023