<Kotlin Program Not Running> I have the following ...
# stackoverflow
u
Kotlin Program Not Running I have the following kotlin code fun main() { println("How many mines do you want on the field?") val mines = readln().toInt() val minefield = Minefield(mines)... However, once I enter a number, it doesn't do anything. When I attempted to debug it, I saw that it took mines in, but kept expecting something. There's no other readln() in the initializer, and the Minefield class signature is class Minefield(mines: Int) What's going wrong?