Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconstruct current path of blocks/extends roots #1177

Merged
merged 5 commits into from
May 7, 2024

Conversation

jasmith-hs
Copy link
Contributor

When reconstructing output from an extends root, the current path won't be tracked correctly. This PR fixes that issue by reconstructing the current path when there are deferred tokens when evaluating the extends roots and resolving blocks.

If there is something deferred in the base, then the current path will end up being the child template's path unless we reconstruct it like we're doing in this PR. See new test cases for examples.

Base automatically changed from push-path-once-in-block to master May 7, 2024 18:39
@jasmith-hs jasmith-hs merged commit 96931e5 into master May 7, 2024
5 checks passed
@jasmith-hs jasmith-hs deleted the eager-execution-reconstruct-block-path branch May 7, 2024 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant