I started off with the tutorial for learning Kotlin in IntelliJ
.When I tried running the example i.e
fun main(args: Array<String>) {
println("lol")
}
Execution is suspended with this messageError:(5, 5) Kotlin: Unresolved reference: println
This is the first time I am using IntelliJ.I have never worked on a Java
project either.Am I missing something?
Edit:I have seen the other question already.The answer is not valid for my situation.