commit | 369e1efe19adfc5393d2235992327f39360e0554 | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Wed May 17 17:09:26 2017 -0700 |
committer | Ian Lance Taylor <iant@golang.org> | Thu May 18 18:03:43 2017 +0000 |
tree | eb85b9a077b8587c1119f7c5534510d106103b50 | |
parent | ba68a42618d1e8516e38da093d3af731d7fd4f06 [diff] |
compiler: ignore struct field tags for type conversion Go 1.8 includes a language change (https://golang.org/doc/go1.8#language): in an explicit conversion from one struct type to another, any field tags are ignored. This CL implements this language change in the gofrontend. The tests for this are in the gc testsuite, which will be copied into the gccgo repository in due course. Updates golang/go#16085. Change-Id: I64e49f103efced41a55757e2cb665f6c1098db80 Reviewed-on: https://go-review.googlesource.com/43614 Reviewed-by: Than McIntosh <thanm@google.com>