-
Notifications
You must be signed in to change notification settings - Fork 293
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: pass state to addList
Before it was assumed that addList would always be called in a final stage. However, this is not true if it is called as a composite literal in an expression, for intsance `[ expr ][0]`. Passing this will allow the computation of embeddings to be defered in a future CL. Issue #2244 Issue #2351 Issue #2355 Signed-off-by: Marcel van Lohuizen <[email protected]> Change-Id: I6d27495d8a9413033ad202fc995e297da66e9309 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/556544 Reviewed-by: Daniel Martí <[email protected]> TryBot-Result: CUEcueckoo <[email protected]>
- Loading branch information
Showing
2 changed files
with
9 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
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