Commit 8266b33
committed
fix: include constant kind in whereSymbol and findMatchingNodes queries (#487)
whereSymbolImpl used ALL_SYMBOL_KINDS (core 10, no constant) so
codegraph where could not find constants. findMatchingNodes defaulted
to FUNCTION_KINDS which also excluded constant. Switch whereSymbolImpl
to EVERY_SYMBOL_KIND and add constant to FUNCTION_KINDS default.
Impact: 1 functions changed, 6 affected1 parent 39f9967 commit 8266b33
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
0 commit comments