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

Unified Diff: pkg/analysis_server/test/integration/search/get_type_hierarchy_test.dart

Issue 2233913003: Fix errors introduced by recent strong-mode changes (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | pkg/analyzer/lib/src/cancelable_future.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/integration/search/get_type_hierarchy_test.dart
diff --git a/pkg/analysis_server/test/integration/search/get_type_hierarchy_test.dart b/pkg/analysis_server/test/integration/search/get_type_hierarchy_test.dart
index a4ab04e43d78eeefa0af6691a65a6e0a599948dd..5450e60b15a0b449f248ba5888a821196d7b57a4 100644
--- a/pkg/analysis_server/test/integration/search/get_type_hierarchy_test.dart
+++ b/pkg/analysis_server/test/integration/search/get_type_hierarchy_test.dart
@@ -103,6 +103,7 @@ class Derived extends Pivot {}
equals(text.indexOf('class $name') + 'class '.length));
}
}
+
checkElement('Object');
checkElement('Base');
checkElement('Pivot');
@@ -270,7 +271,8 @@ class Pivot /* target */ extends Base2 {}
if (result.hierarchyItems == null) {
return null;
} else {
- return new HierarchyResults(result.hierarchyItems);
+ return new HierarchyResults(
+ result.hierarchyItems as List<TypeHierarchyItem>);
}
});
}
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/cancelable_future.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698