Skip to content

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

Merged
jasmith-hs merged 1 commit intomasterfrom
deferred-execution-loop-extensions
Dec 6, 2024
Merged

Defer BreakTag and ContinueTag if they're used in deferredExecutionMode#1222
jasmith-hs merged 1 commit intomasterfrom
deferred-execution-loop-extensions

Conversation

@jasmith-hs
Copy link
Copy Markdown
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
@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