Skip to content

Report included template paths in parse errors - #995

Merged
sebastienros merged 2 commits into
mainfrom
sebros/include-parser-filenames
Aug 23, 2026
Merged

Report included template paths in parse errors#995
sebastienros merged 2 commits into
mainfrom
sebros/include-parser-filenames

Conversation

@sebastienros

Copy link
Copy Markdown
Owner

Parser failures in included templates reported the location and source excerpt without identifying which template failed, making errors difficult to trace in projects with many partials.

Prefix loaded-template parse errors with the resolved logical template path, including any default extension added during resolution, while preserving the existing parser diagnostics. Add regression coverage for included templates in both interpreted and compiled parser modes.

Fixes: #994

sebastienros and others added 2 commits August 22, 2026 17:39
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: dd54a478-0c5b-42fb-aeba-edb06ce4c132
@sebastienros
sebastienros enabled auto-merge (squash) August 23, 2026 18:45
@sebastienros
sebastienros merged commit 6a44077 into main Aug 23, 2026
3 checks passed
@sebastienros
sebastienros deleted the sebros/include-parser-filenames branch August 23, 2026 18:45
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.

Parser errors in included files do not mention the filename

1 participant