Repository navigation
[TS] Track deletion of object properties - #461
Merged
Merged
Conversation
CaelmBleidd
force-pushed
the
caelmbleidd/ts-426-delete-property
branch
from
October 2, 2026 22:31
ce99964 to
53d10be
Compare
CaelmBleidd
changed the base branch from
main
to
caelmbleidd/ts-422-string-value-equality
October 2, 2026 22:32
CaelmBleidd
force-pushed
the
caelmbleidd/ts-422-string-value-equality
branch
from
October 3, 2026 05:21
7927e93 to
127ecb5
Compare
CaelmBleidd
force-pushed
the
caelmbleidd/ts-426-delete-property
branch
from
October 3, 2026 05:28
8add94d to
3a06f16
Compare
CaelmBleidd
marked this pull request as ready for review
October 3, 2026 06:43
CaelmBleidd
force-pushed
the
caelmbleidd/ts-422-string-value-equality
branch
from
October 4, 2026 19:51
e5527a3 to
7217c2a
Compare
Base automatically changed from
caelmbleidd/ts-422-string-value-equality
to
main
October 5, 2026 12:37
CaelmBleidd
force-pushed
the
caelmbleidd/ts-426-delete-property
branch
from
October 7, 2026 22:16
b33728a to
2f50d8e
Compare
CaelmBleidd
force-pushed
the
caelmbleidd/ts-426-delete-property
branch
from
October 9, 2026 12:54
2f50d8e to
36e6d55
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #426.
Track own-property deletion separately from stored values, for both allocated objects and symbolic input receivers. Previously, delete only overwrote address-sorted storage, leaving numeric and Boolean values visible. Deletion markers now start at false for every receiver and record execution writes using the existing symbolic memory-update machinery. Reads return undefined after deletion; assignments restore the field; aliases observe the update; distinct receivers and untouched conditional paths keep their original values.
Deleting a value evaluates its operand and returns true, preserving side effects. Type assertions delegate to the underlying operand. Cases requiring prototype lookup, array-element deletion, and unsupported binding/reference forms remain explicit unsupported outcomes. With the pinned frontend,
delete (obj.field as any)loses the property reference when the cast operand is lowered to a temporary local; a regression preserves this as unsupported instead of reporting success without deleting the field.Based on main
70a88e3d6a0156c4e7b40d912e9c1d31e9530a12. Typed-string field materialization is preserved; the published JacoDB pin remainsddb127d9ef.Validation:
git diff --checkpassed.These are focused local checks. Remote CI on the updated head and human approval remain separate merge gates.