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

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

Issue 12288040: Reapply "Make Comparable generic." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix problems. Created 7 years, 10 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/serialization/lib/src/basic_rule.dart
diff --git a/pkg/serialization/lib/src/basic_rule.dart b/pkg/serialization/lib/src/basic_rule.dart
index 303a9e1a04a23f0b2c2a3d0da3f6ebbf2b7746a4..19a8bcab3c63f059edae35a827df76855c1c1d04 100644
--- a/pkg/serialization/lib/src/basic_rule.dart
+++ b/pkg/serialization/lib/src/basic_rule.dart
@@ -271,7 +271,7 @@ class BasicRule extends SerializationRule {
* This represents a field in an object. It is intended to be used as part of
* a [_FieldList].
*/
-abstract class _Field implements Comparable {
+abstract class _Field implements Comparable<_Field> {
/** The FieldList that contains us. */
final _FieldList fieldList;
« no previous file with comments | « pkg/logging/lib/logging.dart ('k') | sdk/lib/_internal/compiler/implementation/js_backend/runtime_types.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698