Index: tests/compiler/dart2js/resolver_test.dart |
diff --git a/tests/compiler/dart2js/resolver_test.dart b/tests/compiler/dart2js/resolver_test.dart |
index f16e481f1d19d2467dd8be290a240febe4ee0fdb..9bbfe8eed2ddeecb8a63fbf376a5333df0f4cde1 100644 |
--- a/tests/compiler/dart2js/resolver_test.dart |
+++ b/tests/compiler/dart2js/resolver_test.dart |
@@ -134,8 +134,6 @@ class Foo extends X<Foo> {} |
class Bar extends Foo implements X<Bar> {} |
"""); |
compiler.resolveStatement("Bar bar;"); |
- LibraryElement mainApp = compiler.mainApp; |
- ClassElement classBar = mainApp.find("Bar"); |
DiagnosticCollector collector = compiler.diagnosticCollector; |
Expect.equals(0, collector.warnings.length); |
Expect.equals(1, collector.errors.length); |
@@ -289,7 +287,6 @@ Future testThis() { |
(funElement as FunctionElementX).parseNode(compiler.parsingContext); |
visitor.visit(function.body); |
Map mapping = map(visitor); |
- List<Element> values = mapping.values.toList(); |
DiagnosticCollector collector = compiler.diagnosticCollector; |
Expect.equals(0, mapping.length); |
Expect.equals(0, collector.warnings.length); |
@@ -628,11 +625,6 @@ Future testOneInterface() { |
// correctly. |
compiler.parseScript("abstract class Bar {}"); |
- ResolverVisitor visitor = new ResolverVisitor( |
- compiler.resolution, |
- null, |
- new ResolutionRegistry( |
- compiler.backend.target, new CollectingTreeElements(null))); |
compiler.resolveStatement("Foo bar;"); |
LibraryElement mainApp = compiler.mainApp; |