protobuf-go/proto
Damien Neil 6e40b32926 internal/impl: weak field bugfixes
Fix a reversed error check in impl.Export{}.WeakNil.

Check to see if we have a type for the weak field on marshal/size.

Treat a typed nil valued in XXX_Weak as not indicating presence for
the field.

Change-Id: Id667ac7eb4f53236be9e181017082bd8cd21d115
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/198717
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2019-10-04 17:07:45 +00:00
..
bench_test.go
decode_gen.go
decode_test.go internal/impl: weak field bugfixes 2019-10-04 17:07:45 +00:00
decode.go proto, internal/impl: implement support for weak fields 2019-09-19 22:41:12 +00:00
doc.go
encode_gen.go
encode_test.go proto: improve slice growth in MarshalAppend 2019-09-28 01:00:09 +00:00
encode.go proto: improve slice growth in MarshalAppend 2019-09-28 01:00:09 +00:00
equal_test.go proto/equal: equate nil 2019-09-23 16:43:47 +00:00
equal.go proto/equal: equate nil 2019-09-23 16:43:47 +00:00
extension_test.go
extension.go
isinit_test.go proto, internal/impl: implement support for weak fields 2019-09-19 22:41:12 +00:00
isinit.go
merge_test.go proto: fix self-merging 2019-09-23 16:14:39 +00:00
merge.go proto: fix self-merging 2019-09-23 16:14:39 +00:00
messageset_test.go
messageset.go
methods_test.go internal/impl: support non-struct-pointer legacy message types 2019-10-04 16:13:03 +00:00
proto_methods.go proto: reset message by default in Unmarshal 2019-09-17 21:13:42 +00:00
proto_reflect.go proto: reset message by default in Unmarshal 2019-09-17 21:13:42 +00:00
proto.go
reset_test.go
reset.go proto: reset message by default in Unmarshal 2019-09-17 21:13:42 +00:00
size_gen.go
size.go
weak_test.go internal/impl: weak field bugfixes 2019-10-04 17:07:45 +00:00
wrappers.go