Skip to content

fix(native): native engine does not emit Shape.describe → Shape.area this-dispatch edge #1413

@carlos-alm

Description

@carlos-alm

Bug

The integration test this-dispatch-scope.test.ts line 65 ('emits Shape.describe → Shape.area') fails for the native engine (v3.11.2). The native engine does not emit the expected this.area() dispatch edge inside Shape.describe.

The test runs for both wasm and native engines, but only WASM passes. The other three negative assertions are correctly marked as .todo for native (lines 79-83), but the positive assertion at line 65 is not, causing a CI failure.

Similarly, prototype-method-resolution.test.ts line 98-103 (resolves (new Dog(...)).bark() inline-new receiver call to Dog.bark) fails for the native engine.

Steps to Reproduce

npx vitest run tests/integration/prototype-method-resolution.test.ts tests/integration/this-dispatch-scope.test.ts

Expected

Both tests pass for native engine.

Actual

Both fail — native engine does not emit the expected edges.

Notes

These failures pre-exist in PR #1399 (feat/super-dispatch-1377) and are unrelated to the super.method() dispatch work. They should be fixed in the native Rust engine independently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions