| Index: pkg/analysis_server/lib/src/services/index/index.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/index/index.dart b/pkg/analysis_server/lib/src/services/index/index.dart
|
| index 3a44b4f39b93f73222151e9cd4210ab8c0e77513..5767b4cb212cd701c345ab85336e3bce06d08a7c 100644
|
| --- a/pkg/analysis_server/lib/src/services/index/index.dart
|
| +++ b/pkg/analysis_server/lib/src/services/index/index.dart
|
| @@ -82,9 +82,6 @@ class IndexableName implements IndexableObject {
|
| IndexableObjectKind get kind => IndexableNameKind.INSTANCE;
|
|
|
| @override
|
| - int get length => 0;
|
| -
|
| - @override
|
| int get offset {
|
| return -1;
|
| }
|
| @@ -127,6 +124,12 @@ class IndexableNameKind implements IndexableObjectKind {
|
| throw new UnsupportedError(
|
| 'Indexable names cannot be decoded through their kind');
|
| }
|
| +
|
| + @override
|
| + int encodeHash(StringToInt stringToInt, IndexableObject indexable) {
|
| + String name = (indexable as IndexableName).name;
|
| + return stringToInt(name);
|
| + }
|
| }
|
|
|
| /**
|
|
|