Closed Louie-Jay closed 11 months ago
The code is: fun main() { println("1") println("2") println("3") }
yet it says "No main method found in project."
https://pl.kotl.in/DWXmp7tnK
Hi, @Louie-Jay! For Kotlin 1.2 version you should specify the argument like this:
fun main(args: Array<String>) { println("1") println("2") println("3") }
The code is: fun main() { println("1") println("2") println("3") }
yet it says "No main method found in project."
https://pl.kotl.in/DWXmp7tnK