]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fix type substituter to copy Funarg value for structs
authorDan Scales <danscales@google.com>
Tue, 7 Sep 2021 14:46:27 +0000 (07:46 -0700)
committerDan Scales <danscales@google.com>
Tue, 7 Sep 2021 18:37:34 +0000 (18:37 +0000)
commit66401719143692f1b892fb47aaef286f885395c9
tree7b99d6bd57318d58897eb53703087d0a1d59d936
parente581ec07eed006e7a54306457ff8d9931b2aae7c
cmd/compile: fix type substituter to copy Funarg value for structs

We were missing copying the Funarg value when substituting for a struct
type.

Change-Id: Id0c2d9e55fb15987acb9edba6f74cf57cfd3417e
Reviewed-on: https://go-review.googlesource.com/c/go/+/347913
Run-TryBot: Dan Scales <danscales@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Trust: Dan Scales <danscales@google.com>
src/cmd/compile/internal/typecheck/subr.go