Skip to content

Fixes issue with forEach iterating over a union of iterables#1629

Merged
TwitchBronBron merged 2 commits intov1from
fix_foreach_iterating_over_a_union_of_iterables
Feb 18, 2026
Merged

Fixes issue with forEach iterating over a union of iterables#1629
TwitchBronBron merged 2 commits intov1from
fix_foreach_iterating_over_a_union_of_iterables

Conversation

@markwpearce
Copy link
Collaborator

Fixes issue, where a "not iterable" diagnostic was triggered when doing a for each on a union, like this:

sub doIterate(list as roList or roArray)
    for each thing in list
        print thing
    end for
end sub

@markwpearce markwpearce added this to the v1.0.0 milestone Feb 17, 2026
@markwpearce markwpearce added the bug Something isn't working label Feb 17, 2026
@TwitchBronBron TwitchBronBron merged commit 1556715 into v1 Feb 18, 2026
8 checks passed
@TwitchBronBron TwitchBronBron deleted the fix_foreach_iterating_over_a_union_of_iterables branch February 18, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments