Just watched kotlinconf puzzlers video
//sampleStart
fun f(): String {
return throw return throw return "asd"
}
//sampleEnd
fun main(args: Array<String>) {
println(f())
}
PS it is valid code, that compiles
Just watched kotlinconf puzzlers video
//sampleStart
fun f(): String {
return throw return throw return "asd"
}
//sampleEnd
fun main(args: Array<String>) {
println(f())
}
PS it is valid code, that compiles