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: fix disjunctions in data mode
The toDataAll path is currently not used, but will be used in the upcoming matchN builtin. In data mode, defaults of disjunctons should be taken and a non-ambiguous default should consequently be converted to data also. This will be tested as part of the matchN builtin. Signed-off-by: Marcel van Lohuizen <[email protected]> Change-Id: I40c1fed6c6c2284c750c3f9115a8ea6456bcc37a Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1199550 Reviewed-by: Daniel Martí <[email protected]> TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]> Reviewed-by: Roger Peppe <[email protected]>
- Loading branch information