]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile/internal/types2: review of operand.go
authorRobert Griesemer <gri@golang.org>
Mon, 29 Mar 2021 19:14:58 +0000 (12:14 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 31 Mar 2021 04:13:44 +0000 (04:13 +0000)
The changes between (equivalent, and reviewed) go/types/operand.go
and operand.go can be seen by comparing patchset 1 and 2. The actual
changes are removing the "// UNREVIEWED" marker.

The primary differences compared to go/types are:
- use of syntax rather than go/ast package
- explicit mode for untyped nil (rather than relying on the type)

Change-Id: I0c9c1c6153c55cb0550096bd966c9f0f1c766734
Reviewed-on: https://go-review.googlesource.com/c/go/+/305571
Trust: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
src/cmd/compile/internal/types2/operand.go

index 61ad0d00f8a7ba78fd88f252d5af741178315805..455d8b5dd1df22c40fb3b0bf12d8f8b914ed1ea9 100644 (file)
@@ -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.