Repository navigation
Preserve runtime kinds of object literal fields - #504
Merged
CaelmBleidd merged 1 commit intoOct 14, 2026
Merged
Conversation
CaelmBleidd
force-pushed
the
caelmbleidd/pr479-ts-object-literal-runtime-fields
branch
from
October 14, 2026 15:46
b9d410b to
fea04d4
Compare
CaelmBleidd
force-pushed
the
caelmbleidd/pr479-ts-void-storage
branch
from
October 14, 2026 15:46
52c73ce to
80b1205
Compare
Base automatically changed from
caelmbleidd/pr479-ts-void-storage
to
caelmbleidd/pr479-retain-stopped-ts-states
October 14, 2026 15:59
CaelmBleidd
force-pushed
the
caelmbleidd/pr479-retain-stopped-ts-states
branch
from
October 14, 2026 16:27
1416a0d to
2b7355b
Compare
Base automatically changed from
caelmbleidd/pr479-retain-stopped-ts-states
to
main
October 14, 2026 16:30
CaelmBleidd
force-pushed
the
caelmbleidd/pr479-ts-object-literal-runtime-fields
branch
from
October 14, 2026 19:32
fea04d4 to
4c04f07
Compare
CaelmBleidd
deleted the
caelmbleidd/pr479-ts-object-literal-runtime-fields
branch
October 14, 2026 19:40
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.
Object-literal fields can change runtime kind or contain
undefinedeven when their inferred declaration is primitive. Track the storage kind of concrete literal writes, read that kind instead of imposing the inferred declaration, and preserve boxed runtime branches when reading and writing mixed values.The diff against
maincovers only field reads/writes and their TypeScript regressions: four files, +122/-15. Rebased onto5b79aae3ee7361a37b9038a175cbf4b03703d6d2, which already contains the shared solver observation and stopped-state observer changes. The original feature patch is unchanged, as verified bygit range-diff.Validation: all three
ObjectLiteralRuntimeFieldstests passed on the rebased branch, covering optional booleans, fork-dependent storage kinds, and later writes of other kinds. Whitespace checks passed. Broader suites remain for CI; these checks establish the tested TypeScript semantics, not class-experiment coverage.