Chromium Code Reviews| Index: pkg/analyzer/lib/src/generated/source_io.dart |
| diff --git a/pkg/analyzer/lib/src/generated/source_io.dart b/pkg/analyzer/lib/src/generated/source_io.dart |
| index afc50ff5491a76c002cdb437a4ecc5130e40ac14..d615cf3093dbaa5f8bb9749abaf58c8aa9f2b759 100644 |
| --- a/pkg/analyzer/lib/src/generated/source_io.dart |
| +++ b/pkg/analyzer/lib/src/generated/source_io.dart |
| @@ -197,7 +197,7 @@ class FileBasedSource extends Source { |
| @override |
| bool operator ==(Object object) => |
| - object != null && object is FileBasedSource && file == object.file; |
| + object != null && object is FileBasedSource && uri == object.uri; |
|
scheglov
2015/02/19 18:54:47
The check object != null is not necessary, "is" wi
Paul Berry
2015/02/19 19:15:32
Fair enough. Fixed.
|
| @override |
| bool exists() => file.isFile(); |