We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When parsing a value that is not quoted, 1x0 is inferred to be an integer with the value 0.
1x0
0
To Reproduce The following YAML demonstrates the buggy behaviour
a: 1x0
Go playground example: https://go.dev/play/p/QNg1XLBhagK
Expected behavior I would expect the output of the above example to be map[a:1x0], not map[a:0]
map[a:1x0]
map[a:0]
Version Variables
Additional context I tried finding any documentation of such behaviour in the yaml spec, but seems like this is a bug in the tokenizer.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
When parsing a value that is not quoted,
1x0
is inferred to be an integer with the value0
.To Reproduce
The following YAML demonstrates the buggy behaviour
Go playground example:
https://go.dev/play/p/QNg1XLBhagK
Expected behavior
I would expect the output of the above example to be
map[a:1x0]
, notmap[a:0]
Version Variables
Additional context
I tried finding any documentation of such behaviour in the yaml spec, but seems like this is a bug in the tokenizer.
The text was updated successfully, but these errors were encountered: