| commit | 7e81098011029750eac78d64f9d53034a53693bc | [log] [tgz] |
|---|---|---|
| author | David Symonds <dsymonds@golang.org> | Tue Aug 12 13:11:17 2014 +1000 |
| committer | David Symonds <dsymonds@golang.org> | Tue Aug 12 13:11:17 2014 +1000 |
| tree | 7f0ce7402dc8bc2da11030a3c887ba2ed1113f38 | |
| parent | 25535e35a86c7b226882f70d8e0a924f8661fa35 [diff] |
goprotobuf: Fix handling of empty string defaults for 'string' and 'bytes' fields. This is a bit of an edge case. All other valid defaults appear as non-empty strings, but we need to distinguish [default=""] for string/bytes to uphold the SetDefaults contract. LGTM=djd R=djd CC=golang-codereviews https://codereview.appspot.com/125100044