Skip to content

fix(parser): Guard SOURCE branch against _render_install error return - #37

Open
elviskahoro wants to merge 1 commit into
LineIndent:mainfrom
elviskahoro:upstream-pr/parser-guard
Open

elviskahoro wants to merge 1 commit into
LineIndent:mainfrom
elviskahoro:upstream-pr/parser-guard

Conversation

@elviskahoro

Copy link
Copy Markdown

Summary

fix(parser): Guard SOURCE branch against _render_install error return

Testing

Regression tests: tests/test_parser_source_token.py . The full test suite passes against current LineIndent/native main.

🤖 Generated with Claude Code

render_token unpacked _render_install's result unconditionally, crashing with
TypeError when it returned an error paragraph. Return the error component instead.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.

1 participant