Join Slack
Powered by
Yes. Compiler infers `() -> Unit` from `{ print...
# coroutines
d
dmitry.petrov
01/24/2017, 7:28 AM
Yes. Compiler infers
() -> Unit
from
{ println("hi") }
, unless there is an expected type.
Open in Slack
Previous
Next