Skip to content

Report syntax property bundle errors as syntax-property-bundle#832

Merged
jackfirth merged 1 commit into
masterfrom
fix-property-bundle-error-source-830
Jul 16, 2026
Merged

Report syntax property bundle errors as syntax-property-bundle#832
jackfirth merged 1 commit into
masterfrom
fix-property-bundle-error-source-830

Conversation

@jackfirth

Copy link
Copy Markdown
Owner

Fixes #830.

Both reducers now build the bundle's sorted map with a fold that checks for duplicates itself, so the error names syntax-property-bundle instead of into-hash/build-sorted-map and reports the offending path.

🤖 Generated with Claude Code

Both bundle-building reducers delegated their duplicate checks to
rebellion's into-hash and into-sorted-map, so duplicate paths and keys
were reported in terms of those internal helpers. Build the bundle's
sorted map with fold reducers that raise the error directly, naming
syntax-property-bundle and including the offending path.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Docs preview: https://resyntax.notjack.space/preview/832/

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resyntax analyzed 1 file in this pull request and found no issues.

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 96.521% (+0.004%) from 96.517% — fix-property-bundle-error-source-830 into master

@jackfirth
jackfirth merged commit 1f9fd56 into master Jul 16, 2026
12 checks passed
@jackfirth
jackfirth deleted the fix-property-bundle-error-source-830 branch July 16, 2026 18:29
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.

Bad error source in syntax-property-bundle

2 participants