Skip to content

Add a regression test for re-analyzing an array pattern - #472

Merged
mame merged 1 commit into
masterfrom
array-pattern-reedit-test
Sep 1, 2026
Merged

Add a regression test for re-analyzing an array pattern#472
mame merged 1 commit into
masterfrom
array-pattern-reedit-test

Conversation

@mame

@mame mame commented Sep 1, 2026

Copy link
Copy Markdown
Member

ArrayPatternNode used to return @posts, an Array, from install, so the invariant check in update_rb_file raised RuntimeError: [] the second time a file containing an array pattern was analyzed. f6a6e65 fixed it as a side effect; nothing covered it.

`ArrayPatternNode` used to return `@posts`, an Array, from install, so the
invariant check in `update_rb_file` raised `RuntimeError: []` the second time a
file containing an array pattern was analyzed. f6a6e65 fixed it as a side
effect; nothing covered it.
@mame
mame merged commit 697ea9f into master Sep 1, 2026
12 checks passed
@mame
mame deleted the array-pattern-reedit-test branch September 1, 2026 08:41
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