Mirror of https://github.com/cue-lang/cue cuelang.org
cue go
Something went wrong. Try again.
cue/parser: delay ast.Field allocation in parseField master
Very simple tidy up; in some cases we don't need the allocation, so only do it once we know we will need it. Signed-off-by: Daniel Martí <mvdan@mvdan.cc> Change-Id: Id84ef49f3866a80e3d4acd6b3768ea4bbb63b9f3 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1227718 Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com> Reviewed-by: Roger Peppe <rogpeppe@gmail.com> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Author Daniel Martí Date (Dec 10, 2025, 2:18 PM UTC) Commit fa2bca61 fa2bca619f118b5000ec6f1852d0bbbaf014efa8 Parent 0a9e071a 0a9e071af11226b448888ec92aa48f16f1db971a