| Index: pkg/analysis_server/lib/src/index/b_plus_tree.dart
|
| diff --git a/pkg/analysis_server/lib/src/index/b_plus_tree.dart b/pkg/analysis_server/lib/src/index/b_plus_tree.dart
|
| index 441c5a1a056ed33ef7b182319d7d65c1260cf739..a37edbaba785a07ea2a4b00207ec8a1afad488f1 100644
|
| --- a/pkg/analysis_server/lib/src/index/b_plus_tree.dart
|
| +++ b/pkg/analysis_server/lib/src/index/b_plus_tree.dart
|
| @@ -670,7 +670,7 @@ class _LeafNode<K, V, N> extends _Node<K, V, N> {
|
| }
|
|
|
| void _insertNotFull(K key, V value, int index) {
|
| - if (index < keys.length && keys[index] == key) {
|
| + if (index < keys.length && comparator(keys[index], key) == 0) {
|
| values[index] = value;
|
| } else {
|
| keys.insert(index, key);
|
|
|