1
0
mirror of https://github.com/golang/go synced 2024-11-18 18:24:48 -07:00
go/doc
Robert Griesemer 5c7a005266 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>
2016-10-04 17:07:37 +00:00
..
articles
codewalk
devel
gopher
play
progs
asm.html
cmd.html
code.html
conduct.html
contrib.html
contribute.html
debugging_with_gdb.html
docs.html
effective_go.html doc: change variable name in Effective Go 2016-09-16 01:10:51 +00:00
gccgo_contribute.html
gccgo_install.html
go1.1.html
go1.2.html
go1.3.html
go1.4.html
go1.5.html
go1.6.html
go1.7.html
go1.8.txt doc: add PKG_CONFIG and GIT_ALLOW_PROTOCOL env vars to go1.8.txt 2016-10-03 18:26:43 +00:00
go1.html
go1compat.html
go_faq.html doc: add some missing HTML tags in the FAQ 2016-09-20 23:01:12 +00:00
go_mem.html
go_spec.html spec: ignore struct tags when converting structs 2016-10-04 17:07:37 +00:00
go-logo-black.png
go-logo-blue.png
go-logo-white.png
help.html
ie.css
install-source.html
install.html
root.html
security.html
share.png
tos.html