Index: pkg/analyzer_experimental/lib/src/generated/element.dart |
diff --git a/pkg/analyzer_experimental/lib/src/generated/element.dart b/pkg/analyzer_experimental/lib/src/generated/element.dart |
index 3d7e2a43beb8a992ee9e5a626c2f55910eee9741..e3e9d023be1539f025287e5b7c48f93167e8b40e 100644 |
--- a/pkg/analyzer_experimental/lib/src/generated/element.dart |
+++ b/pkg/analyzer_experimental/lib/src/generated/element.dart |
@@ -2133,7 +2133,7 @@ class ElementLocationImpl implements ElementLocation { |
List<String> components = new List<String>(); |
Element ancestor = element; |
while (ancestor != null) { |
- components.insertRange(0, 1, ((ancestor as ElementImpl)).identifier); |
+ components.insert(0, ((ancestor as ElementImpl)).identifier); |
ancestor = ancestor.enclosingElement; |
} |
this._components = new List.from(components); |