Commit 20c1fd8
committed
fix(evaluator): Fix cycle detection
The check whether packages have already been visited in dependency
rules was ineffective. It was based on dependency nodes processed
during graph traversal, which cannot be compared or stored in
collections. Fix this by
using the stable references to the nodes instead.
Signed-off-by: Oliver Heger <[email protected]>1 parent 1ed668e commit 20c1fd8
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
| 99 | + | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
103 | | - | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| |||
0 commit comments