Index: tests/compiler/dart2js/source_map_validator_helper.dart |
diff --git a/tests/compiler/dart2js/source_map_validator_helper.dart b/tests/compiler/dart2js/source_map_validator_helper.dart |
index f806b6c43f282dda30f698cfb96a09ea9fa94c11..b171c4cb2fe74080a2405a5969ed1b6afe30d362 100644 |
--- a/tests/compiler/dart2js/source_map_validator_helper.dart |
+++ b/tests/compiler/dart2js/source_map_validator_helper.dart |
@@ -174,7 +174,8 @@ checkNames( |
return element; |
} |
- void match(AstElement element) { |
+ void match(Element _element) { |
+ AstElement element = _element; |
Interval interval = intervalFromElement(element); |
if (interval != null && interval.contains(sourcePosition)) { |
AstElement innerElement = findInnermost(element); |