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

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

Issue 2791993002: Fix dart2js warnings and add test to ensure it stays clean. (Closed)
Patch Set: Address comments and fix duplicated library names. Created 3 years, 9 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.dart
diff --git a/pkg/compiler/lib/src/serialization/serialization.dart b/pkg/compiler/lib/src/serialization/serialization.dart
index aee1504491a5d6550023deb624fabdbe5efad7cb..e127bbce2a878e5010d90c07b306e8c04e31f395 100644
--- a/pkg/compiler/lib/src/serialization/serialization.dart
+++ b/pkg/compiler/lib/src/serialization/serialization.dart
@@ -939,7 +939,7 @@ class DeserializerPlugin {
void onElement(Element element, ObjectDecoder getDecoder(String tag)) {}
/// Called to deserialize custom data from [decoder].
- dynamic onData(ObjectDecoder decoder) {}
+ dynamic onData(ObjectDecoder decoder) => null;
}
/// Context for parallel deserialization.

Powered by Google App Engine
This is Rietveld 408576698