Skip to content

Ensure parsing throws with unknown critical annotations#63

Merged
jedel1043 merged 2 commits into
mainfrom
handle-invalid-annotations
Jun 25, 2024
Merged

Ensure parsing throws with unknown critical annotations#63
jedel1043 merged 2 commits into
mainfrom
handle-invalid-annotations

Conversation

@jedel1043

Copy link
Copy Markdown
Member

No description provided.

@jedel1043 jedel1043 added C-bug Something isn't working C-internal Internal library improvements labels Jun 25, 2024
Comment thread src/parsers.rs
// Ignore all invalid annotations
None
// Make the parser handle any unknown annotation.
Some(annotation)

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.

Ah shoot! Nice catch.

@jedel1043 jedel1043 merged commit ec2f2d0 into main Jun 25, 2024
@jedel1043 jedel1043 deleted the handle-invalid-annotations branch June 25, 2024 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-bug Something isn't working C-internal Internal library improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants