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

karelpeeters

09/01/2017, 10:54 AM
I'm not sure why the second one doesn't work.
a

arekolek

09/01/2017, 10:55 AM
Destructuring declarations are only allowed for local variables/values.
~ Preprocessor
k

karelpeeters

09/01/2017, 10:57 AM
Then it's just a language design decision I guess.
2 Views