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

Unified Diff: lib/logging.dart

Issue 823613004: Make type signature consistent with class Object (Closed) Base URL: https://github.com/dart-lang/logging@master
Patch Set: Created 6 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/logging.dart
diff --git a/lib/logging.dart b/lib/logging.dart
index 5f4bc2be8ae4cbaf2a85652190cbc22045c7fbba..dc83d84899f9529508050411fe10212252ea273b 100644
--- a/lib/logging.dart
+++ b/lib/logging.dart
@@ -278,7 +278,7 @@ class Level implements Comparable<Level> {
static const List<Level> LEVELS = const
[ALL, FINEST, FINER, FINE, CONFIG, INFO, WARNING, SEVERE, SHOUT, OFF];
- bool operator ==(Object other) => other is Level && value == other.value;
+ bool operator ==(other) => other is Level && value == other.value;
bool operator <(Level other) => value < other.value;
bool operator <=(Level other) => value <= other.value;
bool operator >(Level other) => value > other.value;
« 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