]> Cypherpunks repositories - gostls13.git/commit
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)
commit135c9f45ecaec719bcc297ec9f9f19042bc9adf6
tree1b85c8d2600871985b74f347a99fd98db0515975
parent34fb2b2ed5687ec85aa8c1db1481bb4f31b35b29
cmd/compile/internal/types2: review of operand.go

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