Correctly combine hash codes for repeated enums. (#556)

The existing logic in `hashField` is overriding the previously computed
hash codes, which could include values from other fields within the
message. Any message with a repeated enum field with a (relatively) high
tag number will generate a poor hash code which doesn't reflect other
fields.

Co-authored-by: Loren Van Spronsen <lorenvs@google.com>
1 file changed
tree: 0ec13f280589eb7a08a2a9249ec84fdc1f14bf9b
  1. .github/
  2. api_benchmark/
  3. protobuf/
  4. protoc_plugin/
  5. query_benchmark/
  6. tool/
  7. .gitignore
  8. analysis_options.yaml
  9. mono_repo.yaml
  10. README.md
README.md

Protobuf support for Dart

CI status pub package

Protocol Buffers (protobuf) are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.

This repository is home to packages related to protobuf for Dart. It contains: