]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile: save the note of fields when translating struct
authorkorzhao <korzhao95@gmail.com>
Fri, 10 Sep 2021 17:14:54 +0000 (01:14 +0800)
committerDan Scales <danscales@google.com>
Mon, 13 Sep 2021 21:48:41 +0000 (21:48 +0000)
commit42057e9848d40fc6181cd7a68fd788c652772b8d
tree92e6d1341956c463d10a413e9d87b52eaeec6f5c
parent960d036f8f7387de9b06fde6601af43ecaa650e6
cmd/compile: save the note of fields when translating struct

Fixes #48317

Change-Id: I756ae6253022870071004332dd8f49169307f7e6
Reviewed-on: https://go-review.googlesource.com/c/go/+/349013
Run-TryBot: Dan Scales <danscales@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Dan Scales <danscales@google.com>
Trust: Dan Scales <danscales@google.com>
src/cmd/compile/internal/typecheck/subr.go
test/typeparam/issue48317.go [new file with mode: 0644]