]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove inTypeCheckInl boolean
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Thu, 28 Apr 2022 18:20:38 +0000 (01:20 +0700)
committerGopher Robot <gobot@golang.org>
Thu, 28 Apr 2022 18:41:25 +0000 (18:41 +0000)
commit96a1ad298ad9e6a308c3b05c07e1b3bf53ac9cfe
treefcafaabeea5f60992bfa79926882ef64242efb2b
parent15381040fa8cb2f00579595c60594964d73b09b1
cmd/compile: remove inTypeCheckInl boolean

After CL 402974, we do not typecheck an inline body in ImportedBody
anymore, thus the inTypeCheckInl check is un-necessary.

Change-Id: Ia6154a57db507c3e00b67333f1e3b910a6de7d05
Reviewed-on: https://go-review.googlesource.com/c/go/+/402975
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Keith Randall <khr@golang.org>
src/cmd/compile/internal/typecheck/func.go