Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/cueversion: construct pseudoversion when possible
This change copies some old logic that was previously deleted (in https://cuelang.org/cl/1176194) to construct a pseudoversion when one isn't directly present. It's a little tricky to test but has been manually verified to work. Signed-off-by: Roger Peppe <rogpeppe@gmail.com> Change-Id: I508011561c0dd3f3b212c777919f64f67411ad35 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1194091 Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com> Reviewed-by: Daniel Martí <mvdan@mvdan.cc> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
- Loading branch information