This CL reduces the amount of code that needs to be maintained
manually by about 50 LOC.
Change-Id: I022688d6db58bf58e7844487582725a23ca820be
Reviewed-on: https://go-review.googlesource.com/c/go/+/566515
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Findley <rfindley@google.com>
+// Code generated by "go test -run=Generate -write=all"; DO NOT EDIT.
+
// Copyright 2020 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package types
-import (
- "testing"
-)
+import "testing"
func TestError(t *testing.T) {
var err error_
renameIdents(f, "syntax->ast")
},
"chan.go": nil,
- "const.go": func(f *ast.File) { fixTokenPos(f) },
+ "const.go": fixTokenPos,
"context.go": nil,
"context_test.go": nil,
"conversions.go": nil,
+ "errors_test.go": func(f *ast.File) { renameIdents(f, "nopos->noposn") },
"errsupport.go": nil,
"gccgosizes.go": nil,
"gcsizes.go": func(f *ast.File) { renameIdents(f, "IsSyncAtomicAlign64->_IsSyncAtomicAlign64") },