Index: tests/compiler/dart2js/equivalence/check_helpers.dart |
diff --git a/tests/compiler/dart2js/equivalence/check_helpers.dart b/tests/compiler/dart2js/equivalence/check_helpers.dart |
index c7fff7e4252873cb67fd53ad5440741c2936493b..1b94dcfbeaa3df3bd2890bf06aef6ec231ab70e3 100644 |
--- a/tests/compiler/dart2js/equivalence/check_helpers.dart |
+++ b/tests/compiler/dart2js/equivalence/check_helpers.dart |
@@ -8,7 +8,6 @@ library dart2js.equivalence.helpers; |
import 'package:compiler/src/constants/expressions.dart'; |
import 'package:compiler/src/constants/values.dart'; |
-import 'package:compiler/src/elements/elements.dart'; |
import 'package:compiler/src/elements/entities.dart'; |
import 'package:compiler/src/elements/resolution_types.dart'; |
import 'package:compiler/src/elements/types.dart'; |
@@ -249,7 +248,7 @@ bool checkMapEquivalence(var object1, var object2, String property, Map map1, |
/// |
/// Uses [object1], [object2] and [property] to provide context for failures. |
bool checkElementIdentities(Object object1, Object object2, String property, |
- Element element1, Element element2) { |
+ Entity element1, Entity element2) { |
if (identical(element1, element2)) return true; |
return check( |
object1, object2, property, element1, element2, areElementsEquivalent); |
@@ -260,7 +259,7 @@ bool checkElementIdentities(Object object1, Object object2, String property, |
/// |
/// Uses [object1], [object2] and [property] to provide context for failures. |
bool checkElementListIdentities(Object object1, Object object2, String property, |
- Iterable<Element> list1, Iterable<Element> list2) { |
+ Iterable<Entity> list1, Iterable<Entity> list2) { |
return checkListEquivalence( |
object1, object2, property, list1, list2, checkElementIdentities); |
} |