Repository navigation
Commit 3be8974
committed
dart: try exact-name matches before short-name matches
Scoped resolution merged exact and short-name index hits before
requiring a unique match, so an imported top-level helper() became
ambiguous with any visible Tool.helper method and the edge was dropped.
Try exact names first and only widen to short names when nothing
matched exactly, which also mirrors Dart's lexical-before-this lookup.1 parent 77b51ff commit 3be8974
2 files changed
Lines changed: 27 additions & 6 deletions
File tree
- codewiki/src/be/dependency_analyzer/analysis
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
614 | 614 | | |
615 | 615 | | |
616 | 616 | | |
617 | | - | |
| 617 | + | |
618 | 618 | | |
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
622 | 622 | | |
623 | 623 | | |
624 | 624 | | |
625 | | - | |
| 625 | + | |
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
| |||
658 | 658 | | |
659 | 659 | | |
660 | 660 | | |
661 | | - | |
662 | | - | |
663 | | - | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
664 | 671 | | |
665 | 672 | | |
666 | 673 | | |
| |||
673 | 680 | | |
674 | 681 | | |
675 | 682 | | |
676 | | - | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
677 | 686 | | |
678 | 687 | | |
679 | 688 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
496 | 508 | | |
497 | 509 | | |
498 | 510 | | |
| |||
0 commit comments