Index: tests/compiler/dart2js/diagnostic_reporter_helper.dart |
diff --git a/tests/compiler/dart2js/diagnostic_reporter_helper.dart b/tests/compiler/dart2js/diagnostic_reporter_helper.dart |
index 0a706f7c3d51d81350fac382522ea4152bf24226..0ca8649214cc4991a164de6846348e2275df6c3a 100644 |
--- a/tests/compiler/dart2js/diagnostic_reporter_helper.dart |
+++ b/tests/compiler/dart2js/diagnostic_reporter_helper.dart |
@@ -8,7 +8,7 @@ import 'package:compiler/src/diagnostics/diagnostic_listener.dart'; |
import 'package:compiler/src/diagnostics/messages.dart'; |
import 'package:compiler/src/diagnostics/source_span.dart'; |
import 'package:compiler/src/diagnostics/spannable.dart'; |
-import 'package:compiler/src/elements/elements.dart'; |
+import 'package:compiler/src/elements/entities.dart'; |
import 'package:front_end/src/fasta/scanner.dart'; |
import 'options_helper.dart'; |
@@ -67,7 +67,7 @@ abstract class DiagnosticReporterWrapper extends DiagnosticReporter { |
SourceSpan spanFromToken(Token token) => reporter.spanFromToken(token); |
@override |
- withCurrentElement(Element element, f()) { |
+ withCurrentElement(Entity element, f()) { |
return reporter.withCurrentElement(element, f); |
} |