Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1639)

Unified Diff: tests/compiler/dart2js/type_checker_test.dart

Issue 2595583002: Remove StatementType (Closed)
Patch Set: Updated cf. comment Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/typechecker.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « pkg/compiler/lib/src/typechecker.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698