``` val fn: () -> Unit = { "this is ok" } val f...
# announcements
s
Copy code
val fn: () -> Unit = { "this is ok" }
val fn: () -> CharSequence = { "so is this" }
val fn: () -> String = { "and this too" }
val fn: () -> Int = { "I'm a compiler error though..." }