Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/core/adt: sharpen condition for scalar setting
Fixes some issues caused by a regression in v0.5. It is true that a scalar should not discard an error, but it may override other values, like basic types or other values of which a concrete scalar may be an instance of. Issue #2244 Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com> Change-Id: I1351b250683f4f17e78cf5974f9423ee081fe568 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/549657 Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Unity-Result: CUEcueckoo <cueckoo@cuelang.org> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
- Loading branch information