Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Commit

Permalink
cue/errors: make compile again with Go 1.12
Browse files Browse the repository at this point in the history
Change-Id: I7f18c140ddba8dedbb9584c95021163c48ddbcdd
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/4947
Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
  • Loading branch information
mpvl committed Feb 12, 2020
1 parent 58ada0e commit 442518f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cue/errors/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ func writeErr(w io.Writer, err Error) {
}

for {
u := errors.Unwrap(err)
u := xerrors.Unwrap(err)

printed := false
msg, args := err.Msg()
Expand Down

0 comments on commit 442518f

Please sign in to comment.