Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: pkg/analysis_services/lib/src/generated/completion.dart

Issue 304323004: Computers and services snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analysis_server/pubspec.yaml ('k') | pkg/analysis_services/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_services/lib/src/generated/completion.dart
diff --git a/pkg/analysis_services/lib/src/generated/completion.dart b/pkg/analysis_services/lib/src/generated/completion.dart
index d2c50c67a63af19286c0e8fda5237d50766e13d0..a49b8055a4a3b916e05bf66a87826ede7c890914 100644
--- a/pkg/analysis_services/lib/src/generated/completion.dart
+++ b/pkg/analysis_services/lib/src/generated/completion.dart
@@ -1912,7 +1912,7 @@ class CompletionEngine_NameCollector {
void _addNamesDefinedByHierarchy2(InterfaceType type, bool forSuper) {
List<InterfaceType> superTypes = type.element.allSupertypes;
if (!forSuper) {
- superTypes.insert(0, type);
+ superTypes = ArrayUtils.addAt(superTypes, 0, type);
}
_addNamesDefinedByTypes(superTypes);
// Collect names defined by subtypes separately so they can be identified later.
« no previous file with comments | « pkg/analysis_server/pubspec.yaml ('k') | pkg/analysis_services/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698