From: Robert Griesemer Date: Fri, 19 Mar 2021 00:15:05 +0000 (-0700) Subject: cmd/compile/internal/types2: review of expr.go X-Git-Tag: go1.17beta1~984 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c69515c9fd;p=gostls13.git cmd/compile/internal/types2: review of expr.go The changes between (equivalent, and reviewed) go/types/expr.go and expr.go can be seen by comparing patchset 1 and 2. The actual changes are removing the "// UNREVIEWED" marker. The primary differences to go/types/expr.go are: - use of package syntax rather than ast - no reporting of error codes in errors - implicit conversions of untyped nil lead to a typed nil (in go/types, nil remains untyped) Change-Id: I1e235b20ebda597eb7ce597d1749f26431addde2 Reviewed-on: https://go-review.googlesource.com/c/go/+/303092 Trust: Robert Griesemer Reviewed-by: Robert Findley --- diff --git a/src/cmd/compile/internal/types2/expr.go b/src/cmd/compile/internal/types2/expr.go index 3706185817..2eb4ded465 100644 --- a/src/cmd/compile/internal/types2/expr.go +++ b/src/cmd/compile/internal/types2/expr.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.