1
0
mirror of https://github.com/golang/go synced 2024-11-26 17:26:56 -07:00
go/doc
Robert Griesemer de47f68c99 spec: fix spec on conversions to match implementations
The existing compilers convert empty strings to empty
but non-nil byte and rune slices. The spec required
a nil byte and rune slice in those cases. That seems
an odd additional requirement. Adjust the spec to
match the reality.

Also, removed over-specification for conversions of
nil []byte and []rune: such nil slices already act
like empty slices and thus don't need extra language.
Added extra examples instead.

Fixes #5704.

R=rsc, r, iant
CC=golang-dev
https://golang.org/cl/10440045
2013-06-21 16:11:13 -07:00
..
articles doc/articles: use C90 standard functions in the cgo article. 2013-06-04 01:40:53 +08:00
codewalk all: fix typos 2013-04-24 04:46:14 +08:00
devel doc: add go1.1.1 to the release notes 2013-06-13 12:43:26 +10:00
gopher doc/gopher: add high-resolution pencil sketches 2012-12-12 10:51:13 -08:00
play doc: add Game of Life to playground toys 2013-06-04 12:59:28 +10:00
progs doc/articles: use C90 standard functions in the cgo article. 2013-06-04 01:40:53 +08:00
cmd.html doc: move /ref/cmd to /doc/cmd 2012-03-27 13:46:16 +11:00
code.html doc: Fix typo in approximation of square root 2013-05-29 13:49:51 +10:00
contrib.html doc: link to wiki Projects page instead of old Project Dashboard. 2013-02-11 09:18:31 +11:00
contribute.html doc/contribute: add "Understanding the extension" section 2013-06-05 21:09:43 -07:00
debugging_with_gdb.html doc: correct some minor HTML errors found by tidy 2013-02-28 13:32:36 -08:00
docs.html doc: link to Go 1.1 release notes 2013-05-01 10:00:05 -04:00
effective_go.html effective_go.html: Fix two links 2013-05-27 11:00:12 +10:00
gccgo_contribute.html doc: update gccgo docs 2013-06-20 14:49:15 -07:00
gccgo_install.html doc: update gccgo docs 2013-06-20 14:49:15 -07:00
go1.1.html doc/go1.1.html: remove extra space; close some tags. 2013-06-01 10:28:04 -04:00
go1.2.txt net: introduce netgo build tag to build a pure Go net package. 2013-06-11 02:55:16 +08:00
go1.html doc: misc tweaks, new links, fix broken links 2013-04-18 12:43:23 -07:00
go1compat.html
go_faq.html doc/go_faq: fix example. 2013-05-22 12:28:58 +10:00
go_mem.html doc: Don't imply incorrect guarantees about data races. 2012-09-11 08:47:30 +10:00
go_spec.html spec: fix spec on conversions to match implementations 2013-06-21 16:11:13 -07:00
go-logo-black.png
go-logo-blue.png
go-logo-white.png
godocs.js godoc: enable visibility of element linked from URL hash 2013-04-05 08:04:02 +11:00
help.html doc: add mention of the Go+ community 2013-01-25 08:27:34 +11:00
ie.css
install-source.html doc/install-source.html: recent ARM and 386 updates 2013-06-09 23:15:39 +08:00
install.html doc: update linux tarball version for Go 1.1 2013-06-03 11:47:42 +10:00
jquery.js godoc: add jQuery to Go repository, rewrite godocs.js to use jQuery 2012-10-04 15:31:25 +10:00
logo-153x55.png
Makefile doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
reference.html doc: misc tweaks, new links, fix broken links 2013-04-18 12:43:23 -07:00
root.html doc: add Game of Life to playground toys 2013-06-04 12:59:28 +10:00
share.png
sieve.gif
style.css doc: style tweaks in preparation for Google Feedback link 2013-06-18 15:26:15 +10:00
tos.html doc: add Terms of Service 2012-03-27 09:27:43 +11:00