Skip to content
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

Fails to parse a record in an inline list #11

Open
MaybeJustJames opened this issue Jul 16, 2020 · 1 comment
Open

Fails to parse a record in an inline list #11

MaybeJustJames opened this issue Jul 16, 2020 · 1 comment
Labels
bug Something isn't working Decoding good first issue Good for newcomers

Comments

@MaybeJustJames
Copy link
Owner

Given the input:

 [ '  hello  world  ' : 3 ]

I expect the parser to produce:

Ast.List_ [ Ast.Record_ (Dict.fromList [("  hello  world  ", Ast.Int_ 3)])]
@MaybeJustJames MaybeJustJames added bug Something isn't working good first issue Good for newcomers labels Dec 21, 2020
BEPEVAN1 added a commit to BEPEVAN1/yaml that referenced this issue Dec 5, 2024
@MaybeJustJames
Copy link
Owner Author

Can you add tests for empty and populated inline lists please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Decoding good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant