Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Unified Diff: lib/src/protobuf/field_set.dart

Issue 2606753003: Fix error reported by analyzer. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/protobuf/field_set.dart
diff --git a/lib/src/protobuf/field_set.dart b/lib/src/protobuf/field_set.dart
index 6e99fe7197f9140c74a23735dc2aec2add1c31ee..e089108beee6c9d0df9305b1558df2c9d1f93c7a 100644
--- a/lib/src/protobuf/field_set.dart
+++ b/lib/src/protobuf/field_set.dart
@@ -361,7 +361,7 @@ class _FieldSet {
int hash;
void hashEnumList(PbList enums) {
- for (final enm in enums) {
+ for (ProtobufEnum enm in enums) {
hash = (31 * hash + enm.value) & 0x3fffffff;
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698