[TS] Construct project instances from runtime constructor values - #466
Open
CaelmBleidd wants to merge 5 commits into
Open
CaelmBleidd wants to merge 5 commits into
CaelmBleidd wants to merge 5 commits into
Conversation
This was referenced Oct 3, 2026
CaelmBleidd
force-pushed
the
caelmbleidd/ts-465-runtime-new
branch
from
October 3, 2026 03:54
787814f to
1e15cb5
Compare
CaelmBleidd
force-pushed
the
caelmbleidd/ts-457-runtime-instanceof
branch
from
October 3, 2026 05:28
9812a2b to
70847b1
Compare
CaelmBleidd
force-pushed
the
caelmbleidd/ts-465-runtime-new
branch
2 times, most recently
from
October 3, 2026 05:54
ac1876f to
e3392c8
Compare
CaelmBleidd
marked this pull request as ready for review
October 3, 2026 06:44
CaelmBleidd
force-pushed
the
caelmbleidd/ts-457-runtime-instanceof
branch
from
October 3, 2026 22:33
887e7ba to
bab7963
Compare
CaelmBleidd
force-pushed
the
caelmbleidd/ts-465-runtime-new
branch
from
October 3, 2026 22:33
e3392c8 to
acb1283
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.
Dynamic
newnow consumes JacoDB's evaluated constructor value, resolves its exact project-class identity and allocates that class before executing the existing constructor call. Conditional constructors, returned constructor values, local aliases and argument side effects preserve the selected identity.Closes #465. This PR is stacked on #464 and requires JacoDB #399; the repository's published JacoDB pin is unchanged.
TypeErrorobjects for known non-constructable primitives and ordinary project-class instances; report unresolved constructor identity as unsupported.number|stringvalue. [TS] Support field assignments that change the runtime value sort #467 tracks full support.discoverProperties, including both constructor choices and result invariants. The identical-result field-read scenario useswithOptionsto collect all states instead of stopping after 100% coverage. Keep the direct API for unsupported outcomes, exception details, stop reasons and generated Node replay cases.Current head:
acb1283d458d979a775dee8818d7ec5d1a29ba0f. Parent: #464 atbab79630bbf10cb08559ce1410cf69c1e3c2601e. The production patch is unchanged by the test-style update and rebase.On this final head, 12
RuntimeNewTest, 20 parentRuntimeInstanceofTestand 6TsStringEqualityTestcases passed: 38 tests, zero skips, failures or errors.:usvm-ts:detektTestandgit diff --checkalso passed. Tests include Node replay and used a local composite build against the frozen JacoDB #399 commitb5e10a1a0c5d279492c373caf907f6387fff998fvia-PuseLocalJacodb=/private/tmp/jacodb-ts-398-build.Published CI using an older JacoDB artifact cannot validate the new constructor IR operand. Merge after #464 and the corresponding JacoDB dependency update.