You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for nested multi-target nodes in destructuring assignment (#354)
This commit adds support for nested destructuring assignments like
`a, (b, c) = [1, [2, 3]]`, which previously caused a
"RuntimeError: not supported yet: multi_target_node" error.
Changes:
- Add MultiTargetNode class to handle nested destructuring targets
- Extend create_target_node to support :multi_target_node type
- Add nil guards for `rights` parameter in MAsgnBox and Type::Array#splat_assign
- Add comprehensive test cases for nested destructuring patterns
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments