Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cue/ast/astutil: use generics to remove some reflect
We don't need reflect to read and write nodePtr; we can make it a pointer to a generic ast.Node instead. While here, applyExprList didn't use its ptr argument. Signed-off-by: Daniel Martí <[email protected]> Change-Id: Ia28dfdcf6e371f9d1a2de9c0ce2302b83df4eb80 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1168830 Unity-Result: CUE porcuepine <[email protected]> Reviewed-by: Roger Peppe <[email protected]> TryBot-Result: CUEcueckoo <[email protected]>
- Loading branch information