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

Unified Diff: packages/initialize/lib/src/initializer.dart

Issue 3015713002: Roll to pickup pool changes
Patch Set: Created 3 years, 3 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
« no previous file with comments | « packages/initialize/lib/src/init_method.dart ('k') | packages/initialize/lib/src/mirror_loader.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/initialize/lib/src/initializer.dart
diff --git a/packages/initialize/lib/src/initializer.dart b/packages/initialize/lib/src/initializer.dart
index 60a04d51dbdadedbaccd6e1d93cec7a06142d03b..1b9f32f0251596ce2dfe0f3461e46c330156bf18 100644
--- a/packages/initialize/lib/src/initializer.dart
+++ b/packages/initialize/lib/src/initializer.dart
@@ -41,8 +41,11 @@ class LibraryIdentifier {
const LibraryIdentifier(this.name, this.package, this.path);
- bool operator ==(LibraryIdentifier other) =>
- name == other.name && package == other.package && path == other.path;
+ bool operator ==(dynamic other) =>
+ other is LibraryIdentifier &&
+ name == other.name &&
+ package == other.package &&
+ path == other.path;
String toString() => '$name: $package:$path';
}
« no previous file with comments | « packages/initialize/lib/src/init_method.dart ('k') | packages/initialize/lib/src/mirror_loader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698