-
Notifications
You must be signed in to change notification settings - Fork 450
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
std.parseYaml() parses quoted numbers as numbers #1050
Comments
I'm guessing this is an issue with the underlying parser? Was it C++ or Go |
It was with the C++ version. I just tested with the go implementation, it works fine. |
It's probably a bug in RapidYAML then |
This one should be fixed by #1134 (upgrading RapidYAML to 0.5.0) |
johnbartholomew
added a commit
to johnbartholomew/jsonnet
that referenced
this issue
Feb 27, 2024
This was failing previously (google#1050) due to a bug in RapidYAML.
Should work on master now. I have added a test case for it (#1136). Thanks for the bug report! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
It looks like the
std.parseYaml
function parses quoted numbers as numbers (instead of string).e.g.
Another unexpected behavior is that this function fails if said number starts with a 0.
e.g.
The text was updated successfully, but these errors were encountered: