sortfields does not sort some struct fields in cue eval
when there are cyclic references
#3622
Labels
cue eval
when there are cyclic references
#3622
Note that this issue is related to #3621, as evalv3 runs into cyclic reference errors with the input below, where evalv2 does not. It's possible that that's causing
CUE_DEBUG=sortfields
to not work properly. However, ifcue eval
is producing some CUE output, I would expect all fields to be sorted, even if the output is not complete or contains errors such as missing references.As of 0e99c20:
The output is slightly different in general, which is fine -
cue eval
does not follow a strict behavior so there are differences between v2 and v3. However,inner2
's fields are properly sorted on evalv2, wheras they are not sorted on evalv3.The text was updated successfully, but these errors were encountered: