Skip to content

fix: decode_all should stop iterating after encountering an error - #44

Merged
athre0z merged 1 commit into
zyantific:masterfrom
jxors:fix-decode-all-infinite-iter
Nov 28, 2025
Merged

fix: decode_all should stop iterating after encountering an error#44
athre0z merged 1 commit into
zyantific:masterfrom
jxors:fix-decode-all-infinite-iter

Conversation

@jxors

@jxors jxors commented Nov 20, 2025

Copy link
Copy Markdown
Contributor

This PR ensures InstructionIter terminates after yielding an error, and adds a test for this behavior. This fixes #42.

@jxors
jxors force-pushed the fix-decode-all-infinite-iter branch 3 times, most recently from f6b879f to 1e079ad Compare November 20, 2025 17:15
@jxors
jxors force-pushed the fix-decode-all-infinite-iter branch from 1e079ad to bbbf3a5 Compare November 20, 2025 17:16

@athre0z athre0z left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for taking this up, this LGTM!

@athre0z
athre0z merged commit 38c1e98 into zyantific:master Nov 28, 2025
9 checks passed
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.

Decoder::decode_all returns an infinite iterator if an error occurs

2 participants