Index: pkg/compiler/lib/src/universe/class_set.dart |
diff --git a/pkg/compiler/lib/src/universe/class_set.dart b/pkg/compiler/lib/src/universe/class_set.dart |
index 4d1824d2b4cfff130d3af64ea578af0e5a641def..13a0cdb998ff4bbb15de6ab7a745028f0e2d6c44 100644 |
--- a/pkg/compiler/lib/src/universe/class_set.dart |
+++ b/pkg/compiler/lib/src/universe/class_set.dart |
@@ -343,7 +343,8 @@ class ClassHierarchyNode { |
{bool instantiatedOnly: false, |
bool sorted: true, |
ClassElement withRespectTo}) { |
- bool isRelatedTo(ClassElement subclass) { |
+ bool isRelatedTo(ClassEntity _subclass) { |
+ ClassElement subclass = _subclass; |
return subclass == withRespectTo || |
subclass.implementsInterface(withRespectTo); |
} |