| Index: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/Occurrences.java
|
| diff --git a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/Occurrences.java b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/Occurrences.java
|
| index 4c39b04e6265d80596e2081e11cff073cb4e477f..db04138f62a11c5a3be6fb03176e1f20308ea6dc 100644
|
| --- a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/Occurrences.java
|
| +++ b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/Occurrences.java
|
| @@ -67,9 +67,9 @@ public class Occurrences {
|
| this.length = length;
|
| }
|
|
|
| - public boolean contains(int x) {
|
| + public boolean containsInclusive(int x) {
|
| for (int offset : offsets) {
|
| - if (offset <= x && x < offset + length) {
|
| + if (offset <= x && x <= offset + length) {
|
| return true;
|
| }
|
| }
|
|
|