diff options
Diffstat (limited to 'xmake/core/base/graph.lua')
| -rw-r--r-- | xmake/core/base/graph.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/core/base/graph.lua b/xmake/core/base/graph.lua index 04b0c6573..63d339dec 100644 --- a/xmake/core/base/graph.lua +++ b/xmake/core/base/graph.lua @@ -190,6 +190,7 @@ function graph:partial_topo_sort_remove(node) if node == nil then return end + assert(self._partial_topo_pending > 0) self._partial_topo_pending = self._partial_topo_pending - 1 local edges = self:adjacent_edges(node) if edges then |
