You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# With the old evaluator.
env CUE_EXPERIMENT=evalv3=0
exec cue vet -c input.cue
# With the new evaluator.
env CUE_EXPERIMENT=evalv3=1
exec cue vet -c input.cue
-- input.cue --
package p
out: people.bob.kind
people: [string]: {
kind: "person"
name?: string
}
if true {
people: bob: name: "Bob"
}
# With the old evaluator. (0.010s)
> env CUE_EXPERIMENT=evalv3=0
> exec cue vet -c input.cue
# With the new evaluator. (0.035s)
> env CUE_EXPERIMENT=evalv3=1
> exec cue vet -c input.cue
[stderr]
people.bob.name: cyclic reference to field bob:
./input.cue:10:1
[exit status 1]
Note that this appears to be a bug because:
Removing the if true wrapping fixes the bug
Reordering out: to be at the end of the file fixes the bug
The text was updated successfully, but these errors were encountered:
As of 870bfc2:
Note that this appears to be a bug because:
if true
wrapping fixes the bugout:
to be at the end of the file fixes the bugThe text was updated successfully, but these errors were encountered: