Commit aca4b46
authored
fix(native): expand super-dispatch edges into CHA sibling overrides (#1544)
* fix(native): expand super-dispatch edges into CHA sibling overrides (#1544)
runPostNativeCha was filtering out edges with technique='cha', which
prevented it from expanding the super.method() → Parent.method edges
inserted by runPostNativeThisDispatch (which also uses technique='cha').
Additionally, runPostNativeCha was running before runPostNativeThisDispatch,
so the super-dispatch seed edges were not yet in the DB when the BFS
expansion ran.
Two changes fix parity with WASM:
1. Reorder so runPostNativeThisDispatch runs first, putting the
technique='cha' seed edges in the DB before the expansion pass reads
them.
2. Rename the CHA expansion output to technique='cha-expanded' and update
both filter queries (native and WASM runChaPostPass) from != 'cha'
to != 'cha-expanded'. This lets the expansion pass see 'cha'-tagged
super-dispatch edges while still preventing infinite re-expansion of its
own output edges.
After this fix, native produces 6 CHA edges that WASM already emitted
(e.g. PostMixin.m → B.m across jelly-micro fixtures where PostMixin and B
both extend A).
Closes #1544
* fix(cha): renumber CHA expansion post-pass to Phase 8.6
runPostNativeThisDispatch now runs before runPostNativeCha, making
the previous dual "Phase 8.5" labels misleading. Renumber the CHA
expansion pass (runPostNativeCha) to Phase 8.6 so the orchestrator
numbering is monotonic and matches execution order.1 parent 40b2d14 commit aca4b46
2 files changed
Lines changed: 30 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
473 | | - | |
| 473 | + | |
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
| |||
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
536 | | - | |
| 536 | + | |
537 | 537 | | |
538 | 538 | | |
539 | 539 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
| 393 | + | |
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| |||
597 | 597 | | |
598 | 598 | | |
599 | 599 | | |
600 | | - | |
| 600 | + | |
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
| |||
618 | 618 | | |
619 | 619 | | |
620 | 620 | | |
621 | | - | |
| 621 | + | |
622 | 622 | | |
623 | 623 | | |
624 | 624 | | |
| |||
685 | 685 | | |
686 | 686 | | |
687 | 687 | | |
688 | | - | |
| 688 | + | |
689 | 689 | | |
690 | 690 | | |
691 | 691 | | |
| |||
1600 | 1600 | | |
1601 | 1601 | | |
1602 | 1602 | | |
1603 | | - | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
1604 | 1620 | | |
1605 | 1621 | | |
1606 | 1622 | | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
1607 | 1628 | | |
1608 | 1629 | | |
1609 | 1630 | | |
| |||
1615 | 1636 | | |
1616 | 1637 | | |
1617 | 1638 | | |
1618 | | - | |
1619 | | - | |
1620 | | - | |
1621 | | - | |
1622 | | - | |
1623 | | - | |
1624 | | - | |
1625 | | - | |
1626 | | - | |
1627 | | - | |
1628 | | - | |
1629 | | - | |
1630 | | - | |
1631 | 1639 | | |
1632 | 1640 | | |
1633 | 1641 | | |
| |||
0 commit comments