| Index: pkg/analysis_server/lib/src/resource.dart
|
| diff --git a/pkg/analysis_server/lib/src/resource.dart b/pkg/analysis_server/lib/src/resource.dart
|
| index 2db8d615b1152d1cafda3c36bed5ea685c1d84f2..e3cba4547442dbbad73241f4252f4ad4e2c69dfc 100644
|
| --- a/pkg/analysis_server/lib/src/resource.dart
|
| +++ b/pkg/analysis_server/lib/src/resource.dart
|
| @@ -158,6 +158,14 @@ class _MemoryFileSource implements Source {
|
| _MemoryFileSource(this._file, this.uriKind);
|
|
|
| @override
|
| + bool operator ==(other) {
|
| + if (other is _MemoryFileSource) {
|
| + return other._file == _file;
|
| + }
|
| + return false;
|
| + }
|
| +
|
| + @override
|
| TimestampedData<String> get contents {
|
| return new TimestampedData<String>(modificationStamp, _file._content);
|
| }
|
| @@ -174,6 +182,9 @@ class _MemoryFileSource implements Source {
|
| String get fullName => _file.fullName;
|
|
|
| @override
|
| + int get hashCode => _file.hashCode;
|
| +
|
| + @override
|
| bool get isInSystemLibrary => false;
|
|
|
| @override
|
|
|