Index: pkg/analysis_server/lib/src/services/correction/fix_internal.dart |
diff --git a/pkg/analysis_server/lib/src/services/correction/fix_internal.dart b/pkg/analysis_server/lib/src/services/correction/fix_internal.dart |
index eb9c8357dd6c02c054fcb77e710e99eff051a1e7..0007b6cf89544e6662a02c2ac173fe576d3beb75 100644 |
--- a/pkg/analysis_server/lib/src/services/correction/fix_internal.dart |
+++ b/pkg/analysis_server/lib/src/services/correction/fix_internal.dart |
@@ -1888,7 +1888,7 @@ class FixProcessor { |
void _addLinkedPosition(String groupId, SourceBuilder sb, SourceRange range) { |
// prepare offset |
int offset = range.offset; |
- if (sb.offset < offset) { |
+ if (sb.offset <= offset) { |
int delta = sb.length; |
offset += delta; |
} |