Really what the first example is: ```fun error(msg...
# announcements
d
Really what the first example is:
Copy code
fun error(msg: () -> String): Unit {
    return if (isErrorEnabled) error(msg.invoke()) 
}
This is no bueno, as you can't return a simple
if
statement!
👍 1