Fix issues with protobuf equality comparisons

- Reading a repeated field could change equality comparisons,
because repeated fields are initialized lazily.

- If a GeneratedMessage implements Map, we would compare it as
a map instead of as a GeneratedMessage.

BUG=https://github.com/dart-lang/dart-protobuf/issues/48
R=sgjesse@google.com

Review URL: https://chromiumcodereview.appspot.com//1852983002 .
7 files changed
tree: a568901d7c9976786d6902cc7eff9ecfa236e0ea
  1. lib/
  2. test/
  3. .analysis_options
  4. .gitignore
  5. .status
  6. .test_config
  7. AUTHORS
  8. CHANGELOG.md
  9. codereview.settings
  10. CONTRIBUTING.md
  11. LICENSE
  12. PATENTS
  13. pubspec.yaml
  14. README.md
README.md

Provides runtime support for a Dart implementation of protobufs.

Typically one do not need to import this library–only libraries generated by the protoc plugin import this library directly.

If your library or application uses generated protobuf libraries, add this library as a dependency.

References