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
Default iterations assumes values may be incomplete.
However, if a struct has an incomplete error, it errors out
even if Final or Concrete are not specified.
This is now changed. This is a somewhat dangerous change
as it changes behavior. The old behavior was arguably
a bug, though. Users can use Value.IsConcrete to guard
against iterating over a struct with an incomplete error.
Fixes#1517
Signed-off-by: Marcel van Lohuizen <mpvl@golang.org>
Change-Id: I38fd5bd779384d52d8876bf5f7b0b5f086cbafe7
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/533457
Unity-Result: CUEcueckoo <cueckoo@cuelang.org>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Paul Jolly <paul@myitcv.io>
0 commit comments