Commit 0a8bbb9
committed
internal: Don't rely on FxHashSet order
Previously, SCIP generation would iterate over all the external
symbols by calling `.difference()` on an FxHashSet and iterating over
them. If any tokens had a moniker but no definition, the loop would
terminate early.
AFAICS this code is unreachable today (all the monikers also have
definitions), but the code is clearly wrong. Ensure we process all
tokens regardless of the order.1 parent 06070f3 commit 0a8bbb9
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| |||
0 commit comments