Join Slack
Powered by
Any chance we can get nested destructive declarati...
# stdlib
h
hmole
11/07/2018, 11:09 AM
Any chance we can get nested destructive declarations in Kotlin?
val (a,(b,c)) = 1 to (2 to 3))
?
🤔 1
w
wcaokaze
11/07/2018, 11:10 AM
Maybe,
#language-proposals
➕ 1
e
elizarov
11/07/2018, 11:18 AM
That. And don’t forget to add a better motivating use-case of where that is going to be helpful.
➕ 1
g
gildor
11/07/2018, 11:19 AM
Already proposed
https://youtrack.jetbrains.com/issue/KT-4608
gildor
11/07/2018, 11:19 AM
Maybe make sense to comment there
👍 3
h
hmole
11/07/2018, 11:30 AM
Nice, thanks.
4
Views
Open in Slack
Previous
Next