| Index: tests/compiler/dart2js/type_equals_test.dart
|
| diff --git a/tests/compiler/dart2js/type_equals_test.dart b/tests/compiler/dart2js/type_equals_test.dart
|
| index 85305e017a58cf50f00dccd172eeb9e7ee1094fa..06af4def5ea362ef357d04b9a7d50896a1603f41 100644
|
| --- a/tests/compiler/dart2js/type_equals_test.dart
|
| +++ b/tests/compiler/dart2js/type_equals_test.dart
|
| @@ -7,12 +7,12 @@ import "package:async_helper/async_helper.dart";
|
| import 'package:compiler/src/elements/resolution_types.dart';
|
| import "compiler_helper.dart";
|
|
|
| -bool test(compiler, String name1, String name2, {bool expect}) {
|
| +test(compiler, String name1, String name2, {bool expect}) {
|
| Expect.isTrue((expect != null), 'required parameter "expect" not given');
|
| - var clazz = findElement(compiler, "Class");
|
| + dynamic clazz = findElement(compiler, "Class");
|
| clazz.ensureResolved(compiler.resolution);
|
| - var element1 = clazz.buildScope().lookup(name1);
|
| - var element2 = clazz.buildScope().lookup(name2);
|
| + dynamic element1 = clazz.buildScope().lookup(name1);
|
| + dynamic element2 = clazz.buildScope().lookup(name2);
|
| Expect.isNotNull(element1);
|
| Expect.isNotNull(element2);
|
| Expect.equals(element1.kind, ElementKind.FUNCTION);
|
|
|