-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/core/export: fix dropping of optional field
Lookup dereferences all vertex indirections, including those for structure-sharing. If indirection happens too early it may lead to incorrect arc types. This changes postpones the dereference. Issue #3060 Signed-off-by: Marcel van Lohuizen <[email protected]> Change-Id: Iae18d29d4d32b2acc762df68d63f46e99e36da56 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1194402 Unity-Result: CUE porcuepine <[email protected]> TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Daniel Martí <[email protected]>
- Loading branch information
Showing
3 changed files
with
15 additions
and
101 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
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
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