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

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

Issue 2954493002: Less inequivalence on Hello World! (Closed)
Patch Set: Updated cf. comments Created 3 years, 6 months 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 | « tests/compiler/dart2js/memory_compiler.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 f2b2952501f749a42d5341f6609840437e543674..8b5e212694e8c2f438627cca87baa7531f2a5978 100644
--- a/tests/compiler/dart2js/type_checker_test.dart
+++ b/tests/compiler/dart2js/type_checker_test.dart
@@ -2666,7 +2666,7 @@ Future setup(test(MockCompiler compiler)) {
ResolutionDartType analyzeType(MockCompiler compiler, String text) {
var node = parseExpression(text);
TypeCheckerVisitor visitor = new TypeCheckerVisitor(
- compiler, new TreeElementMapping(null), compiler.types);
+ compiler, new TreeElementMapping(null), compiler.resolution.types);
return visitor.analyze(node);
}
@@ -2710,7 +2710,7 @@ analyzeTopLevel(String text, [expectedWarnings]) {
}
// Type check last class declaration or member.
TypeCheckerVisitor checker =
- new TypeCheckerVisitor(compiler, mapping, compiler.types);
+ new TypeCheckerVisitor(compiler, mapping, compiler.resolution.types);
DiagnosticCollector collector = compiler.diagnosticCollector;
collector.clear();
checker.analyze(node, mustHaveType: false);
@@ -2747,7 +2747,7 @@ analyze(MockCompiler compiler, String text,
TreeElements elements = compiler.resolveNodeStatement(node, function);
compiler.enqueuer.resolution.emptyDeferredQueueForTesting();
TypeCheckerVisitor checker =
- new TypeCheckerVisitor(compiler, elements, compiler.types);
+ new TypeCheckerVisitor(compiler, elements, compiler.resolution.types);
DiagnosticCollector collector = compiler.diagnosticCollector;
collector.clear();
checker.analyze(node, mustHaveType: false);
@@ -2788,7 +2788,7 @@ analyzeIn(MockCompiler compiler, FunctionElement element, String text,
Node node = listener.popNode();
TreeElements elements = compiler.resolveNodeStatement(node, element);
TypeCheckerVisitor checker =
- new TypeCheckerVisitor(compiler, elements, compiler.types);
+ new TypeCheckerVisitor(compiler, elements, compiler.resolution.types);
DiagnosticCollector collector = compiler.diagnosticCollector;
collector.clear();
checker.analyze(node, mustHaveType: false);
« no previous file with comments | « tests/compiler/dart2js/memory_compiler.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698