diff options
| author | Keith Randall <khr@golang.org> | 2021-09-11 06:50:06 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2021-09-21 17:25:35 +0000 |
| commit | fa5c5043bca5264fabbdc47d780cfb53b1f5d9a3 (patch) | |
| tree | 358306b30977f6619dac95622e626e33983004e6 /src/testing | |
| parent | 13aa0d8f578e9c293970fe462f79655899959093 (diff) | |
| download | go-fa5c5043bca5264fabbdc47d780cfb53b1f5d9a3.tar.xz | |
encoding/xml: truncate generic type names
xml names can't have any of '[],' in them, which might appear in
generic type names. Truncate at the first '[' so the names are still valid.
Fixes #48318
Change-Id: I110ff4269f763089467e7cf84b0f0c5075fb44b7
Reviewed-on: https://go-review.googlesource.com/c/go/+/349349
Trust: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/testing')
0 files changed, 0 insertions, 0 deletions
