Index: pkg/kernel/test/class_hierarchy_tester.dart |
diff --git a/pkg/kernel/test/class_hierarchy_tester.dart b/pkg/kernel/test/class_hierarchy_tester.dart |
index d4e04ad95f84a0d460d1a347e6ba0ee8b5e3b2ab..895006df2e2037de436659690d8efc41150e4258 100644 |
--- a/pkg/kernel/test/class_hierarchy_tester.dart |
+++ b/pkg/kernel/test/class_hierarchy_tester.dart |
@@ -115,12 +115,14 @@ void testClassHierarchyOnProgram(Program program, {bool verbose: false}) { |
String eq = setter ? '=' : ''; |
return '$member$eq overrides $superMember$eq'; |
} |
+ |
Set<String> expectedOverrides = new Set<String>(); |
basic.forEachOverridePair(classNode, (member, superMember, setter) { |
expectedOverrides.add(getHash(member, superMember, setter)); |
}); |
Set<String> actualOverrides = new Set<String>(); |
- classHierarchy.forEachOverridePair(classNode, (member, superMember, setter) { |
+ classHierarchy.forEachOverridePair(classNode, |
+ (member, superMember, setter) { |
actualOverrides.add(getHash(member, superMember, setter)); |
}); |
for (var actual in actualOverrides) { |
@@ -142,7 +144,7 @@ void testClassHierarchyOnProgram(Program program, {bool verbose: false}) { |
var random = new Random(12345); |
List/*<T>*/ pickRandom/*<T>*/(List/*<T>*/ items, int n) { |
- var result = /*<T>*/[]; |
+ var result = /*<T>*/ []; |
for (int i = 0; i < n; ++i) { |
result.add(items[random.nextInt(items.length)]); |
} |