aboutsummaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2022-10-10 13:55:40 -0700
committerGopher Robot <gobot@golang.org>2022-10-12 23:00:28 +0000
commit19095e109d0ae037828c519dda0af307b8a01813 (patch)
tree1a7744708931a1adaa3bbe3faaae5587eb3736a5 /src/debug
parent1a7f08cf408ff4c4f05be25839a0d7c5ec28ed05 (diff)
downloadgo-19095e109d0ae037828c519dda0af307b8a01813.tar.xz
go/types, types2: remove need for invalidAST prefix in error calls
Since we already provide the error code, the prefix can be deduced automatically. Except for the changes in errors.go, the updates were made with regex find-and-replaces: check\.error\((.+), InvalidSyntaxTree, invalidAST\+ => check.error($1, InvalidSyntaxTree, check\.errorf\((.+), InvalidSyntaxTree, invalidAST\+ => check.errorf($1, InvalidSyntaxTree, Change-Id: Ia02fc56ac7a8524bdf0c404ff2696435408327e9 Reviewed-on: https://go-review.googlesource.com/c/go/+/441975 Run-TryBot: Robert Griesemer <gri@google.com> Auto-Submit: Robert Griesemer <gri@google.com> Reviewed-by: Robert Findley <rfindley@google.com> Reviewed-by: Robert Griesemer <gri@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/debug')
0 files changed, 0 insertions, 0 deletions