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
..
2013-04-24 04:46:14 +08:00
2012-03-27 13:46:16 +11:00
2013-05-01 10:00:05 -04:00
2013-06-20 14:49:15 -07:00
2013-06-20 14:49:15 -07:00
2013-05-22 12:28:58 +10:00
2010-09-16 14:01:02 +10:00
2009-10-30 10:34:01 -07:00
2012-03-27 09:27:43 +11:00