Obviviously its a second time declaration and it w...
# announcements
g
Obviviously its a second time declaration and it wont compile.
r
Use a different variable names. The destructured names do not have to match the originals. (Destructuring is position based)
g
using different variable names wont make a sense from a real world context point of view. But if we can destructure using var would do just fine which we dont have at present. support ticket is created for this. https://youtrack.jetbrains.com/issue/KT-11362
r
using different variable names wont make a sense from a real world context point of view
Why not?