-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg: use more go/types logic in code generation
Don't chain callCtxtGetter with adtKind, which caused callCtxtGetter to have some logic which only existed for the sake of adtKind. This does mean the two funcs now repeat a few Go types like cue.Value, but we continue to integrate some more principled logic on go/types. Signed-off-by: Daniel Martí <[email protected]> Change-Id: I82772807fe2e4668329aa9c6047adf73fc17aedd Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1201377 TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]> Reviewed-by: Roger Peppe <[email protected]>
- Loading branch information
Showing
1 changed file
with
43 additions
and
29 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