fix(kitchen): warn when spaces around '<' split a composite ingredient in two #260
No reviewers
Labels
No labels
bug
discussion
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gram-lang/gram!260
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/spaced-composite-warning"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@lemon zest{1} < @lemon{2}parsed as two separate ingredients with no message, counting two lemons too many. Kitchen now raisesSPACED_COMPOSITE(warning,data.suggestion: "<@lemon"), and the language server offers a preferred quick fix that glues<back. The parser'sinvalidCompositeguard is kept: it still fires when nothing before the blanks consumed them (err-001), so removing it would change the parse; only a comment was added. Docs en + fr updated (warnings reference, composite page, AI notes, and a wrong claim on the parser page). Conformance unchanged, fuzz 50k clean, full test suite green. Patch changeset included.