Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Fixes tags being ignored for quoted scalars #210

Merged
merged 1 commit into from Aug 26, 2021
Merged

Fixes tags being ignored for quoted scalars #210

merged 1 commit into from Aug 26, 2021

Conversation

knkski
Copy link
Contributor

@knkski knkski commented Aug 26, 2021

Related to chyh1990/yaml-rust#140. It looks like the parsing logic here is related to the code linked to in that issue, but does not actually use said code. So, opening up a PR here to fix the issue.

Succinctly, the issue is that this parses as a string, when it should parse as an int:

foo: !!int "123"

Copy link
Owner

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

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

Thanks!

@dtolnay dtolnay merged commit 79edfdd into dtolnay:master Aug 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants