https://kotlinlang.org logo
#announcements
Title
# announcements
d

dragas

04/07/2017, 12:12 PM
Is there a particular reason why
lazy
and
{
have to be on the same line?
k

kirillrakhman

04/07/2017, 12:38 PM
because otherwise the syntax is ambigious and semicolons are optional
you can work around it by writing
Copy code
lazy()
{ }
but I would recommend just sticking to the default code style