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

Extra safety when unreading alignment-related characters for \aligned #2384

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

dginev
Copy link
Collaborator

@dginev dginev commented Aug 6, 2024

Fixes #2383 . Quite subtle, but I think I got it - I can make the minimal example from the issue into a test if preferred.

Details: The key problem was that when the ->unread of a { happened, the actual aligned state got modified, rather than the "safely neutralized" local state, which appears to be the primary purpose of this parameter type.

@dginev dginev requested a review from brucemiller August 6, 2024 16:19
@brucemiller
Copy link
Owner

Your observations seem right, and this patch doesn't cause any surprises that I can detect. Thanks!

@brucemiller brucemiller merged commit c3d682e into brucemiller:master Aug 12, 2024
13 checks passed
@brucemiller brucemiller deleted the safer-optional-aligned-arg branch August 12, 2024 13:49
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.

Robustness to stacked aligned environments
2 participants