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

Unified Diff: pkg/compiler/lib/src/serialization/serialization_util.dart

Issue 2647043002: Fix hints reported by analyzer. (Closed)
Patch Set: Created 3 years, 11 months 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
Index: pkg/compiler/lib/src/serialization/serialization_util.dart
diff --git a/pkg/compiler/lib/src/serialization/serialization_util.dart b/pkg/compiler/lib/src/serialization/serialization_util.dart
index 9c7d1a818a17072241ef8b661ce05bdd8f6d2c71..28993f24c91eff55e762293281582930ae4e9941 100644
--- a/pkg/compiler/lib/src/serialization/serialization_util.dart
+++ b/pkg/compiler/lib/src/serialization/serialization_util.dart
@@ -52,9 +52,9 @@ Selector deserializeSelector(ObjectDecoder decoder) {
int argumentCount = decoder.getInt(Key.ARGUMENTS);
List<String> namedArguments =
decoder.getStrings(Key.NAMED_ARGUMENTS, isOptional: true);
- String name = decoder.getString(Key.NAME);
- bool isSetter = decoder.getBool(Key.IS_SETTER);
- LibraryElement library = decoder.getElement(Key.LIBRARY, isOptional: true);
+ decoder.getString(Key.NAME);
Siggi Cherem (dart-lang) 2017/01/20 18:12:32 mmm... I'm guessing we should delete these 3 lines
Johnni Winther 2017/01/23 09:31:55 Yes, delete.
ahe 2017/01/23 10:58:36 Done.
+ decoder.getBool(Key.IS_SETTER);
+ decoder.getElement(Key.LIBRARY, isOptional: true);
return new Selector(kind, deserializeName(decoder),
new CallStructure(argumentCount, namedArguments));
}

Powered by Google App Engine
This is Rietveld 408576698