Join Slack
Powered by
<@U0H8PSS2J>: You're declaring function as single ...
# announcements
i
ilya.gorbunov
12/29/2015, 12:27 AM
@mpcjanssen
: You're declaring function as single expression (
https://kotlinlang.org/docs/reference/functions.html#single-expression-functions
), and the value of this expression is another function
{ Log.i(...) }
. Either do not use braces
{ }
or do not put
=
between declaration and body.
2
Views
Open in Slack
Previous
Next