]> Cypherpunks repositories - gostls13.git/commit
reflect: remove out of date UTF-8 StructOf restriction
authorColin Cross <ccross@android.com>
Tue, 17 May 2016 20:09:11 +0000 (13:09 -0700)
committerDavid Crawshaw <crawshaw@golang.org>
Tue, 17 May 2016 21:15:46 +0000 (21:15 +0000)
commit9d36cac99c8248292be1cb6a196bbe0715d0c057
tree767050c55750ca32d1e15cb9c2e4f3c671c1dcf5
parent1a3e4f05a067f37e8ee8f7a0d5eec39a7e0cad84
reflect: remove out of date UTF-8 StructOf restriction

The initial implementation of reflect.StructOf in
https://golang.org/cl/9251 had a limitation that field names had to be
ASCII, which was later lifted by https://golang.org/cl/21777.  Remove
the out-of-date documentation disallowing UTF-8 field names.

Updates: #5748
Updates: #15064

Change-Id: I2c5bfea46bfd682449c6e847fc972a1a131f51b7
Reviewed-on: https://go-review.googlesource.com/23170
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/reflect/type.go