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

Defer BreakTag and ContinueTag if they're used in deferredExecutionMode #1222

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

jasmith-hs
Copy link
Contributor

If we are running a for loop and cannot evaluate whether it will be "broken" or "continued", we'll need special logic to handle that and make sure that the for-loop is reconstructed properly and that the deferred execution mode is propagated to the for-loop.

For now, we can simply defer these nodes, which will make this change compatible with eager execution insofar as deferred nodes signify that something isn't supported.

Eventually, we can handle them, but I don't want to block getting this jinja feature out waiting on that.

@jasmith-hs jasmith-hs merged commit 7c3bfc4 into master Dec 6, 2024
5 checks passed
@jasmith-hs jasmith-hs deleted the deferred-execution-loop-extensions branch December 6, 2024 15:32
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