Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes ivm-after-nop in the lazy reader #708

Merged
merged 1 commit into from
Feb 12, 2024
Merged

Fixes ivm-after-nop in the lazy reader #708

merged 1 commit into from
Feb 12, 2024

Conversation

zslayton
Copy link
Contributor

@zslayton zslayton commented Feb 9, 2024

#706 fixed the raw binary reader (which is used in the ion-cli and Element API) to allow it to recognize an IVM following a NOP pad. This PR makes the same change but for the lazy binary reader that will eventually replace the existing reader.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@zslayton zslayton requested a review from desaikd February 12, 2024 14:01
Copy link
Contributor

@desaikd desaikd left a comment

Choose a reason for hiding this comment

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

Looks good!
Minor note: Clippy suggests some warning for IVM constant, although it doesn't seem to be related to this change. We might need to suppress the warning by putting under a feature probably.

@zslayton zslayton merged commit 501638d into main Feb 12, 2024
20 checks passed
@zslayton zslayton deleted the lazy-ivm-after-nop branch February 12, 2024 19:22
@zslayton
Copy link
Contributor Author

Looks good! Minor note: Clippy suggests some warning for IVM constant, although it doesn't seem to be related to this change. We might need to suppress the warning by putting under a feature probably.

Here's a small follow-on PR to address that: #710

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.

2 participants