| Index: tests/compiler/dart2js/type_checker_test.dart
|
| diff --git a/tests/compiler/dart2js/type_checker_test.dart b/tests/compiler/dart2js/type_checker_test.dart
|
| index b0123f09f627a59fc31f2dd715e82ea2c08ff9dd..0ca286573cff0cf8a2ffd032397a13bfa60a3f6f 100644
|
| --- a/tests/compiler/dart2js/type_checker_test.dart
|
| +++ b/tests/compiler/dart2js/type_checker_test.dart
|
| @@ -2699,7 +2699,7 @@ analyzeTopLevel(String text, [expectedWarnings]) {
|
| new TypeCheckerVisitor(compiler, mapping, compiler.types);
|
| DiagnosticCollector collector = compiler.diagnosticCollector;
|
| collector.clear();
|
| - checker.analyze(node);
|
| + checker.analyze(node, mustHaveType: false);
|
| compareWarningKinds(text, expectedWarnings, collector.warnings);
|
|
|
| compiler.diagnosticHandler = null;
|
| @@ -2736,7 +2736,7 @@ analyze(MockCompiler compiler, String text,
|
| new TypeCheckerVisitor(compiler, elements, compiler.types);
|
| DiagnosticCollector collector = compiler.diagnosticCollector;
|
| collector.clear();
|
| - checker.analyze(node);
|
| + checker.analyze(node, mustHaveType: false);
|
| if (flushDeferred) {
|
| compiler.enqueuer.resolution.emptyDeferredQueueForTesting();
|
| }
|
| @@ -2777,7 +2777,7 @@ analyzeIn(MockCompiler compiler, FunctionElement element, String text,
|
| new TypeCheckerVisitor(compiler, elements, compiler.types);
|
| DiagnosticCollector collector = compiler.diagnosticCollector;
|
| collector.clear();
|
| - checker.analyze(node);
|
| + checker.analyze(node, mustHaveType: false);
|
| generateOutput(compiler, text);
|
| compareWarningKinds(text, warnings, collector.warnings);
|
| compareWarningKinds(text, hints, collector.hints);
|
|
|