aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/types2/example_test.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2021-03-23 14:30:57 -0700
committerRobert Griesemer <gri@golang.org>2021-03-25 19:21:34 +0000
commit2c8692d45f80f902a243732dda95f6561b72a49a (patch)
tree95e07e6367355b3335ac5945b53db7543b9a42a8 /src/cmd/compile/internal/types2/example_test.go
parentffa9983b998cd9667dec0cc5eeb102b14696e28b (diff)
downloadgo-2c8692d45f80f902a243732dda95f6561b72a49a.tar.gz
go-2c8692d45f80f902a243732dda95f6561b72a49a.zip
cmd/compile/internal/types2: review of example_test.go
The changes between (equivalent, and reviewed) go/types/example_test.go and example_test.go can be seen by comparing patchset 1 and 2. The actual changes are removing the "// UNREVIEWED" marker. The primary differences to go/types/example_test.go are: - use of syntax instead of go/ast package - no ExampleMethodSet test (types2 doesn't have MethodSet) - some code in ExampleInfo is disabled due to less precise position information provided by the syntax tree Change-Id: I035284357acc8ecb7849022b5a9d873ae2235987 Reviewed-on: https://go-review.googlesource.com/c/go/+/304249 Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
Diffstat (limited to 'src/cmd/compile/internal/types2/example_test.go')
-rw-r--r--src/cmd/compile/internal/types2/example_test.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/types2/example_test.go b/src/cmd/compile/internal/types2/example_test.go
index 974acb82ef..714bf77821 100644
--- a/src/cmd/compile/internal/types2/example_test.go
+++ b/src/cmd/compile/internal/types2/example_test.go
@@ -1,4 +1,3 @@
-// UNREVIEWED
// Copyright 2015 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.