-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cue/errors: use cue/token.Pos.Compare
Unlike comparePos, it compares by offset rather than line and column, but that's fine as we don't currently support nor use //line directives. Signed-off-by: Daniel Martí <mvdan@mvdan.cc> Change-Id: I2624f99e311237eb278aa389ad9370637d37e7ff Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1206371 TryBot-Result: CUEcueckoo <cueckoo@cuelang.org> Reviewed-by: Marcel van Lohuizen <mpvl@gmail.com>
- Loading branch information
Showing
2 changed files
with
7 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters