mirror of
https://github.com/golang/go
synced 2024-09-30 14:28:33 -06:00
fcc5b64fe1
Marshalling an empty raw message produces a null rather than omitting the field Instead we do not set the field unless there is no error. Includes a test that reproduced the issue before the fix. Fixes golang/go#39719 Change-Id: I683b8ea55d3425613fc956993280ff51202f49fc Reviewed-on: https://go-review.googlesource.com/c/tools/+/239097 Run-TryBot: Ian Cottrell <iancottrell@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@google.com> |
||
---|---|---|
.. | ||
analysisinternal | ||
apidiff | ||
event | ||
fakenet | ||
fastwalk | ||
gocommand | ||
gopathwalk | ||
imports | ||
jsonrpc2 | ||
lsp | ||
memoize | ||
packagesinternal | ||
proxydir | ||
span | ||
stack | ||
testenv | ||
tool | ||
typesinternal | ||
xcontext |