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

feat(cli,daemon): Support pet name paths in kill command #2043

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rekmarks
Copy link
Contributor

@rekmarks rekmarks commented Feb 9, 2024

Ref: #2023

Adds support for dot-delimited pet name paths to the kill command. Makes requisite changes to handle paths and lookup formulas in the mailbox terminate() method.

Adds support for dot-delimited pet name paths to the `kill`
command. Makes requisite changes to handle paths and lookup
formulas in the mailbox `terminate()` method.
@rekmarks rekmarks force-pushed the rekmarks-kill-with-dot-path branch 3 times, most recently from ab7145d to dbe0250 Compare February 12, 2024 18:30
When lookup formulas were introduced, they inadvertently made
broke reverse lookup of their values by overwriting the original
formula identifiers in the ref -> formula id memoization table
(`formulaIdentifierForRef`). This made it impossible to terminate
a value mediated by a lookup formula.

This is fixed by introducing a circular dependency between lookup
formulas and their values, such that if either is terminated, both
are terminated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants