Skip to content

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
@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.

2 participants