Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cue: add an attribute test with a non-Go integer literal
10Mi is a valid CUE integer literal per the spec section https://cuelang.org/docs/reference/spec/#numeric-literals but it is not a valid Go integer literal. The following commit resolves a TODO to use cue/literal for parsing numbers from attributes, changing the behavior of this test. Signed-off-by: Daniel Martí <mvdan@mvdan.cc> Change-Id: I8ea07d0fa5bb2eb1c8ce293c16387395c954dfaf Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1204903 TryBot-Result: CUEcueckoo <cueckoo@cuelang.org> Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com> Reviewed-by: Paul Jolly <paul@myitcv.io>
- Loading branch information