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

toml: can not parse empty array with comments #9337

Closed
coanor opened this issue Jun 8, 2021 · 1 comment
Closed

toml: can not parse empty array with comments #9337

coanor opened this issue Jun 8, 2021 · 1 comment
Labels
bug unexpected problem or unintended behavior

Comments

@coanor
Copy link

coanor commented Jun 8, 2021

Following toml works ok:

abc = [
"a", "b", "c",
# some comments...
]

but following parse failed: line 2: invalid TOML syntax

abc = [
# "a", "b", "c",
# some comments...
]
@coanor coanor added the bug unexpected problem or unintended behavior label Jun 8, 2021
@sspaink
Copy link
Contributor

sspaink commented Jun 8, 2021

This is a duplicate of: #3642
There seems to be a test already implemented for it that is being skipped at the moment:

It is quite an old issue, it will need to be revisited to see what the best approach is to fix it. Closing this issue to keep the discussion to #3642. Hopefully this isn't a blocking bug for you?

@sspaink sspaink closed this as completed Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants