mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-17 01:12:51 +00:00
ae313d4af3
The MessageInfo cache, once set, must not be cleared, otherwise there exists a *messageState value where the MessageInfo value is nil. Fix the generation of the Reset method to avoid clearing this value. Change-Id: Ic84ca8b2640a43e967c36993da1ccd3f2b7096c4 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/201478 Reviewed-by: Damien Neil <dneil@google.com>
1 line
492 B
Plaintext
1 line
492 B
Plaintext
annotation:{path:5 path:0 source_file:"annotations/annotations.proto" begin:443 end:462} annotation:{path:5 path:0 path:2 path:0 source_file:"annotations/annotations.proto" begin:479 end:526} annotation:{path:4 path:0 source_file:"annotations/annotations.proto" begin:1804 end:1826} annotation:{path:4 path:0 path:2 path:0 source_file:"annotations/annotations.proto" begin:1950 end:1970} annotation:{path:4 path:0 path:2 path:0 source_file:"annotations/annotations.proto" begin:3036 end:3059} |