]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: do not set type for OTYPE
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Fri, 19 Feb 2021 06:50:42 +0000 (13:50 +0700)
committerCuong Manh Le <cuong.manhle.vn@gmail.com>
Thu, 4 Mar 2021 06:36:17 +0000 (06:36 +0000)
commit4b8b2c58647af6f1979d8c53d886c8cd71c99e4b
treed04b4d1aa7a7b679ff06b3871260210d9948c2c3
parent8c22874e4e804e29ca040599ec63bb9e35233acd
cmd/compile: do not set type for OTYPE

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

Updates #43311

Change-Id: Ib0761dcf4d9d2a23c41de7eff0376677a90b942e
Reviewed-on: https://go-review.googlesource.com/c/go/+/294033
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