]> Cypherpunks repositories - gostls13.git/commit
spec: ignore struct tags when converting structs
authorRobert Griesemer <gri@golang.org>
Fri, 3 Jun 2016 20:21:55 +0000 (13:21 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 4 Oct 2016 17:07:37 +0000 (17:07 +0000)
commit5c7a005266f84ecea26859619630a862eccc0d48
tree86f7c4469d18ba5f7acc21577bee49845afd8186
parent8c24bff52b7d8e789382a8992af2e0adf0b491f2
spec: ignore struct tags when converting structs

This is a backwards-compatible language change.

Per the proposal (#16085), the rules for conversions are relaxed
such that struct tags in any of the structs involved in the conversion
are ignored (recursively).

Because this is loosening the existing rules, code that compiled so
far will continue to compile.

For #16085.
Fixes #6858.

Change-Id: I0feef651582db5f23046a2331fc3f179ae577c45
Reviewed-on: https://go-review.googlesource.com/24190
Reviewed-by: Russ Cox <rsc@golang.org>
doc/go_spec.html