mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
cddaec7264
The optimization that skips `deconstruct` and the size check when the case/in value is an array literal trusted node count, ignoring splat. An element like `*a` expands at runtime, so [*a] was treated as length 1 and matched only patterns of that length. Fixes #6854. Co-authored-by: Claude <noreply@anthropic.com>