Skip to content

Rename fallback to unresolved_recv - #470

Merged
mame merged 2 commits into
masterfrom
splat-unresolved-recv
Sep 1, 2026
Merged

Rename fallback to unresolved_recv#470
mame merged 2 commits into
masterfrom
splat-unresolved-recv

Conversation

@mame

@mame mame commented Sep 1, 2026

Copy link
Copy Markdown
Member

and add some tests.

mame added 2 commits September 1, 2026 15:38
The vertex holds the receiver types for which method resolution failed,
which is what MethodCallBox provides; "fallback" named what SplatNode
does with it instead. Document the keyword while renaming it.
Cover the cases the union fallback has to get right: nil must not be
wrapped (`[*nil]` is `[]`), `to_ary` must not stand in for `to_a`, and
adding or removing `to_a` must flip the result, which exercises the
dependency edge that the fallback relies on.
@mame
mame merged commit 5356549 into master Sep 1, 2026
7 checks passed
@mame
mame deleted the splat-unresolved-recv branch September 1, 2026 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant