Skip to content

Restore positive class identity assertions - #1825

Merged
mrousavy merged 1 commit into
v1from
mrousavy/v1-restore-identity-tests
Oct 20, 2026
Merged

mrousavy merged 1 commit into
v1from
mrousavy/v1-restore-identity-tests

Conversation

@mrousavy

Copy link
Copy Markdown
Member

Restore the four instanceof assertions and the registered Child prototype assertion changed in #1808. Both the C++ and Swift fixtures now expect the public class identity. The constructor-caching tests remain enabled.

This exposes five failures in the C++ fixture. The corresponding Swift cases pass. Base explicitly allows multiple implementations; Child also exposes an enforcement gap because its decorator selects a concrete Swift implementation while a separate C++ implementation still compiles.

The production fixes can be reviewed on top of this test restoration. This PR changes no implementation, decorator flags, or test exclusions.

Validation: test-runner typecheck, five helper tests, and bundling passed. The full local iOS Default run built successfully and ran all 1,485 JS cases: 1,480 passed and the five restored C++ assertions failed. All 13 native runner tests passed. There are zero iOS case exclusions and no expected-failure annotations.

@vercel

vercel Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
nitro-docs Skipped Skipped Oct 20, 2026 3:21pm UTC

Request Review

@mrousavy
mrousavy force-pushed the mrousavy/v1-restore-identity-tests branch from f336993 to 2218405 Compare October 20, 2026 15:21
@mrousavy
mrousavy marked this pull request as ready for review October 20, 2026 15:23
@mrousavy
mrousavy merged commit 45fa4d7 into v1 Oct 20, 2026
3 of 9 checks passed

This branch was previously deployed

1 inactive deployment
Preview — 2218405c Deployed Oct 20, 2026 by vercel[bot]
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.

1 participant