Commit 53124e6
committed
fix: resolve shadowed modifiers via IdentifierPath referencedDeclaration
Only skip the is_shadowed check when resolving via IdentifierPath
(e.g. A.m in a modifier reference), preserving existing behavior for
regular identifier lookups where shadowed functions should fall through
to virtual resolution.
Fixes #28381 parent c7f761a commit 53124e6
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
80 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
| |||
445 | 448 | | |
446 | 449 | | |
447 | 450 | | |
| 451 | + | |
448 | 452 | | |
449 | 453 | | |
450 | 454 | | |
| |||
0 commit comments