Open thosakwe opened 6 years ago
Meta-issue to add these to the spec document.
// Destructure tuple var (x, y) = myPoint // Destructure struct var { width, height, top, bottom } = myRect
These can actually work side-by-side with regular variable declarations:
var { text, type, line, column } = myToken, span = source_span::FileSpan(line, column, text)
Meta-issue to add these to the spec document.
These can actually work side-by-side with regular variable declarations: