]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: do not set type for OPACK
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Fri, 19 Feb 2021 06:54:28 +0000 (13:54 +0700)
committerCuong Manh Le <cuong.manhle.vn@gmail.com>
Thu, 4 Mar 2021 06:35:58 +0000 (06:35 +0000)
commit12a405b96aadc0174d3b63e61f593bcc28465af0
treeb31d3fd5699df7101debc5ae130ac159c756dd84
parentb7f4307761c61d2d3f563c37b0c9ad0e64899d9f
cmd/compile: do not set type for OPACK

That's an invalid operation and depend on gc.hidePanic to report error.

Updates #43311

Change-Id: I78d615c40ab1e7887f612491e215c1c2bb758ef6
Reviewed-on: https://go-review.googlesource.com/c/go/+/294031
Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/typecheck/typecheck.go