Skip to content

Comments

Fix corner case for YAML parsing with primitive types#247

Merged
stephenamar-db merged 2 commits intomasterfrom
yamlfix
Dec 31, 2024
Merged

Fix corner case for YAML parsing with primitive types#247
stephenamar-db merged 2 commits intomasterfrom
yamlfix

Conversation

@stephenamar-db
Copy link
Collaborator

I was looking at google/jsonnet#1109 and realized that we did not parse yaml correctly for primitive types:

std.parseYaml("0777") returned [511] instead of 511 (something that other implementations of jsonnet do)

@stephenamar-db stephenamar-db marked this pull request as ready for review December 29, 2024 06:35
@stephenamar-db stephenamar-db merged commit 1497955 into master Dec 31, 2024
6 checks passed
@stephenamar-db stephenamar-db deleted the yamlfix branch December 31, 2024 00:22
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.

1 participant