Index: tests/compiler/dart2js/resolver_test.dart |
diff --git a/tests/compiler/dart2js/resolver_test.dart b/tests/compiler/dart2js/resolver_test.dart |
index bc5878ea0b3132bfa60e934fe8663d235acae628..3396e535d038d11402a0b6fbc427c091ddd778d6 100644 |
--- a/tests/compiler/dart2js/resolver_test.dart |
+++ b/tests/compiler/dart2js/resolver_test.dart |
@@ -198,8 +198,10 @@ Future testTypeVariables() { |
'}'); |
ClassElement foo = compiler.mainApp.find('Foo'); |
foo.ensureResolved(compiler.resolution); |
- foo.lookupLocalMember('t').computeType(compiler.resolution); |
- foo.lookupLocalMember('foo').computeType(compiler.resolution); |
+ MemberElement tMember = foo.lookupLocalMember('t'); |
+ tMember.computeType(compiler.resolution); |
+ MemberElement fooMember = foo.lookupLocalMember('foo'); |
+ fooMember.computeType(compiler.resolution); |
compiler.resolver.resolve(foo.lookupLocalMember('bar')); |
DiagnosticCollector collector = compiler.diagnosticCollector; |
Expect.equals(0, collector.warnings.length); |