You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cue/token: relative positions apply before, not after, a token
Maximilian Gaß correctly points out that the cue/format package
follows relative positions before printing a token, and he's right.
I also confirmed that the token scanner also builds relative positions
based on the kind of whitespace it found leading up to each token.
While here, fix a typo.
Signed-off-by: Daniel Martí <[email protected]>
Change-Id: I2eae7f628a4e585e966e029d9d78c7fe3be89539
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1186143
Reviewed-by: Marcel van Lohuizen <[email protected]>
Unity-Result: CUE porcuepine <[email protected]>
TryBot-Result: CUEcueckoo <[email protected]>
0 commit comments