Repository navigation
test(conformance): a newline between a key and its { is no open question - #21
Merged
Merged
Conversation
`foo` then `{ a = 1 }` on the next line is the key followed by `{`, with
whitespace between, as JSON allows whitespace before `:`. No other reading
exists, since a key cannot start with `{`. Every parser in the table reads it
so; hocon-rs rejecting it is its bug, not a gap in the spec. The case is an
ordinary one now, and every report gains it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CbBo1aotFTDLY2gery7qYD
lejmr
force-pushed
the
agent/newline-brace
branch
from
October 19, 2026 16:08
34e49aa to
718f084
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
key-value-separator/006(foothen{ a = 1 }on the next line) was an open question. It is not one: the newline is whitespace between the key and the{, as JSON allows whitespace before:, and there is no other reading, since a key cannot start with{. Every parser in the table accepts it; hocon-rs rejecting it is its bug.review, itswhysays the above.🤖 Generated with Claude Code
https://claude.ai/code/session_01CbBo1aotFTDLY2gery7qYD