Skip to content

Refactor Include using PushLocal and PopLocal#649

Merged
xoofx merged 2 commits intoscriban:masterfrom
Benkei:bugfix/strict-variables-include-named-arguments
Mar 11, 2026
Merged

Refactor Include using PushLocal and PopLocal#649
xoofx merged 2 commits intoscriban:masterfrom
Benkei:bugfix/strict-variables-include-named-arguments

Conversation

@Benkei
Copy link
Copy Markdown
Contributor

@Benkei Benkei commented Mar 11, 2026

Following the latest review in #648, I have replaced the manual variable restoration magic with PushLocal and PopLocal.
It's much simpler and cleaner now.

I've also updated several tests accordingly.

@xoofx xoofx added the bug label Mar 11, 2026
@xoofx xoofx merged commit d2148d8 into scriban:master Mar 11, 2026
1 check passed
@xoofx
Copy link
Copy Markdown
Member

xoofx commented Mar 11, 2026

Thank you for the fix/improvement! It's much better.

@Benkei Benkei deleted the bugfix/strict-variables-include-named-arguments branch March 11, 2026 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants