nkiesel
06/07/2017, 3:01 AMreturn instead of your return@lambda will print what you expect. Reason is that a unlabeled return always returns from the innermost fun. That allows Kotlin to have functions with lambdas which look like keywords (e.g. with). If you want to only return from a lambda, then you have to use the labeled return.