-
Notifications
You must be signed in to change notification settings - Fork 297
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: add test for dropped field issue
Currently, inline struct were reapproriated by linking them into the destination struct by setting the parent and label. However, labels are used to look up fields. This resulted in fields being dropped. This test exposes that. Issue #3601 Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com> Change-Id: Icdfd3e9edac458ffb08a3759a2fd350e3cfdf363 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1205231 Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org> Reviewed-by: Matthew Sackman <matthew@cue.works>
- Loading branch information
Showing
1 changed file
with
91 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters