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

Unified Diff: pkg/kernel/test/class_hierarchy_self_check.dart

Issue 2998583003: Fix hints in kernel (TBR) (Closed)
Patch Set: Created 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/test/class_hierarchy_self_check.dart
diff --git a/pkg/kernel/test/class_hierarchy_self_check.dart b/pkg/kernel/test/class_hierarchy_self_check.dart
index f9edbc8bc55990e1b4bf7ef0d0a3d413ab07024c..4fe7e3f3f39e9dd87f9d51b28f051892377add23 100644
--- a/pkg/kernel/test/class_hierarchy_self_check.dart
+++ b/pkg/kernel/test/class_hierarchy_self_check.dart
@@ -151,8 +151,8 @@ void testClassHierarchyOnProgram(Program program, {bool verbose: false}) {
var random = new Random(12345);
-List/*<T>*/ pickRandom/*<T>*/(List/*<T>*/ items, int n) {
- var result = /*<T>*/ [];
+List<T> pickRandom<T>(List<T> items, int n) {
+ var result = <T>[];
for (int i = 0; i < n; ++i) {
result.add(items[random.nextInt(items.length)]);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698