Skip to content

Conversation

@jasmith-hs
Copy link
Contributor

When deferring an expression like {{ deferred.bar }} the deferred.bar is marked as a usedDeferredWord and in the current logic, it's distilled down to its base deferred, but it is helpful to retain the context that deferred.bar is the whole part that got deferred.

So I'm adding a getUsedDeferredBases and getSetDeferredBases, which do what getUsedDeferredWords and getSetDeferredWords did and moved the usages that look for the base to call the new methods instead.

This changes what those methods return for better consistency and this DeferredToken class is marked with @Beta.

@jasmith-hs jasmith-hs merged commit 462eaf3 into master Oct 29, 2025
7 checks passed
@jasmith-hs jasmith-hs deleted the track-bases-and-words branch October 29, 2025 23:16
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.

3 participants