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í <mvdan@mvdan.cc> Change-Id: Ia28dfdcf6e371f9d1a2de9c0ce2302b83df4eb80 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1168830 Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com> Reviewed-by: Roger Peppe <rogpeppe@gmail.com> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
- Loading branch information