Commit fd15d3c
committed
fix(native): correct NULL ordering in findCallerByLine and remove self receiver
SQLite ASC ordering puts NULL values first, so (end_line - line) ASC would
pick unbounded nodes before any bounded node — inverting the intent. Replace
with COALESCE(end_line - line, 999999999) ASC so unbounded nodes sort last.
Also remove 'self' from the this/super receiver filter in runPostNativeThisDispatch.
In JS/TS files 'self' refers to WindowOrWorkerGlobalScope, not a class instance —
including it would produce spurious dispatch edges from Worker call sites.1 parent f279398 commit fd15d3c
1 file changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
653 | 653 | | |
654 | 654 | | |
655 | 655 | | |
656 | | - | |
| 656 | + | |
| 657 | + | |
657 | 658 | | |
658 | 659 | | |
659 | 660 | | |
660 | 661 | | |
661 | | - | |
| 662 | + | |
662 | 663 | | |
663 | 664 | | |
664 | 665 | | |
| |||
670 | 671 | | |
671 | 672 | | |
672 | 673 | | |
673 | | - | |
674 | | - | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
675 | 678 | | |
676 | 679 | | |
677 | 680 | | |
| |||
681 | 684 | | |
682 | 685 | | |
683 | 686 | | |
684 | | - | |
| 687 | + | |
685 | 688 | | |
686 | 689 | | |
687 | 690 | | |
| |||
0 commit comments