<@U0B8ZRDLZ>: That was a bad example to follow, so...
# announcements
s
@treelzebub: That was a bad example to follow, sorry. I was reporting that same issue I was having. A better example is
return@lambda
. Where you can specify where the return point is. For example, in a function:
Copy code
fun myBooleanReturningFunction(): Boolean {
    val myLambda = lambda@ {
        return@lambda
    }
    return true
}
If I don't specify the @lambda in the closure, it will error out because it thinks you're returning for the function
myBooleanReturningFunction