]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: tighten exportWriter.qualifiedIdent signature
authorMatthew Dempsky <mdempsky@google.com>
Tue, 27 Apr 2021 05:08:06 +0000 (22:08 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Tue, 27 Apr 2021 05:44:56 +0000 (05:44 +0000)
commitcb34026a95f0637a0f9eadb5e1d7aa301635f943
tree2650aca9b7ea2389e0c49ea3f8abdb2bda0001e5
parentc249491572db67acd226210dbcfb4f349614a632
cmd/compile: tighten exportWriter.qualifiedIdent signature

It always takes an *ir.Name and would panic given anything else
anyway, so tighten the signature to match.

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