aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/types2/api.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2021-03-23 11:55:16 -0700
committerRobert Griesemer <gri@golang.org>2021-03-25 04:11:06 +0000
commit607f99904e3f5565517eee452d9153a634a66369 (patch)
tree3d3429b88e69141f75e224d84d8d7a69597b0e3e /src/cmd/compile/internal/types2/api.go
parentc69515c9fd19d9cca5f509cedd3de0aafd2d487f (diff)
downloadgo-607f99904e3f5565517eee452d9153a634a66369.tar.gz
go-607f99904e3f5565517eee452d9153a634a66369.zip
cmd/compile/internal/types2: review of api.go
The changes between (equivalent, and reviewed) go/types/api.go and api.go can be seen by comparing patchset 1 and 2. The actual changes are removing the "// UNREVIEWED" marker. The primary differences to go/types/api.go are: - use of syntax instead of go/ast package - use of simpler Error type (for now) - additional exported Config flags - different handling of nil values (we can't use Typ[UntypedNil] to represent an untyped nil because types2 gives such nil values context-dependent types) Change-Id: I7d46b29d460c656d7a36fe70108a370383266373 Reviewed-on: https://go-review.googlesource.com/c/go/+/304050 Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
Diffstat (limited to 'src/cmd/compile/internal/types2/api.go')
-rw-r--r--src/cmd/compile/internal/types2/api.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cmd/compile/internal/types2/api.go b/src/cmd/compile/internal/types2/api.go
index acb196a336..19adaba578 100644
--- a/src/cmd/compile/internal/types2/api.go
+++ b/src/cmd/compile/internal/types2/api.go
@@ -1,4 +1,3 @@
-// UNREVIEWED
// Copyright 2012 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.
@@ -23,8 +22,6 @@
// and checks for compliance with the language specification.
// Use Info.Types[expr].Type for the results of type inference.
//
-// For a tutorial, see https://golang.org/s/types-tutorial.
-//
package types2
import (