mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
cbe01d574c
- Remove obsolete NODE_ARGS_TAIL enum value and all references - Simplify mrb_ast_case_node from variable-sized array back to simple cons-list structure - Update new_case() function to use original cons-list approach instead of flattening - Fix infinite loop in gen_case_var() when case statements have no matching clauses - Improve code readability by renaming pos3 to case_end_jumps in gen_case_var() - Restore memory-efficient case statement parsing without complex array management The variable-sized array approach for case nodes provided no memory benefit since cons lists aren't recycled. This change restores the simpler original implementation while fixing a critical bug that caused mrbtest to hang on "register window of calls" test. Co-authored-by: Claude <noreply@anthropic.com>