Skip to content

Commit

Permalink
internal/core/adt: remove todo
Browse files Browse the repository at this point in the history
This fix was done before. Removed the
corresponding todos.

Signed-off-by: Marcel van Lohuizen <[email protected]>
Change-Id: I79de4a54f578346b1194aff8a6662be323a98d5a
Dispatch-Trailer: {"type":"trybot","CL":1206386,"patchset":1,"ref":"refs/changes/86/1206386/1","targetBranch":"master"}
  • Loading branch information
mpvl authored and cueckoo committed Dec 27, 2024
1 parent b0f2376 commit 8b0952d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions cue/testdata/eval/v0.7.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -1566,8 +1566,6 @@ diff old new
}
-- diff/explanation --
Bug fixes
-- diff/todo/p0 --
mutual.t4.p1: dropped fields. See comment in cycle.go that references this bug.
-- diff/todo/p2 --
Reordering / positions.
-- out/compile --
Expand Down
2 changes: 0 additions & 2 deletions internal/core/adt/cycle.go
Original file line number Diff line number Diff line change
Expand Up @@ -650,8 +650,6 @@ func (n *nodeContext) detectCycleV3(arc *Vertex, env *Environment, x Resolver, c

if equalDeref(r.Node, n.node) {
// reference cycle
// TODO: in some cases we must continue to fully evaluate.
// Return false here to solve v0.7.txtar:mutual.t4.ok.p1 issue.
return ci, true
}

Expand Down

0 comments on commit 8b0952d

Please sign in to comment.