fun main() {
while (working()) {
HEALTH -= 1
}
}
var HEALTH = 365
fun working(): Boolean {
if (HEALTH > 0) {
return true
} else {
throw OutOfMemoryError("μ¬λ©΄μ μΌμ ν΄λ³΄λ건 μ΄λμ?")
}
}
@Transactional(noRollbackFor = [IrreversibleAction::class])
fun life() { /* compiled code */ }
class IrreversibleAction: RuntimeException()