Skip to content

Commit 959be49

Browse files
mpvlvanhtuan0409
authored andcommitted
internal/core/adt: fix structural cycle error in list.Sum
The sum in the changed test was summing itself, which is a structural cycle. The old behavior was to give a garbage result. We now correctly report the structural cycle. Issue cue-lang#3310 Signed-off-by: Marcel van Lohuizen <[email protected]> Change-Id: Ia37a3a0adf373e9455dc921916a1352ebd580b44 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1202444 Reviewed-by: Matthew Sackman <[email protected]> TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]>
1 parent 143b396 commit 959be49

File tree

2 files changed

+67
-49
lines changed

2 files changed

+67
-49
lines changed

0 commit comments

Comments
 (0)