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
It wasn't entirely clear to me when reading the
code exactly how the `cue.Value` passed to `newSel`,
`getNextIdent` and friends is used.
In fact, it's only used to report errors in the correct
position, so pass a `token.Pos` around instead to
make that a bit more clear. Also rearrange the arguments
to `state.newSel` to put the position first to match
other methods.
Signed-off-by: Roger Peppe <[email protected]>
Change-Id: I78290b09be818126759c3f2162e567e9819887ba
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1201909
TryBot-Result: CUEcueckoo <[email protected]>
Reviewed-by: Daniel Martí <[email protected]>
Unity-Result: CUE porcuepine <[email protected]>
0 commit comments