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

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

Issue 2278213003: Rename the global inference task and reduce it's API surface by introducing the (Closed)
Patch Set: cl comments Created 4 years, 4 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
Index: tests/compiler/dart2js/simple_inferrer_const_closure4_test.dart
diff --git a/tests/compiler/dart2js/simple_inferrer_const_closure4_test.dart b/tests/compiler/dart2js/simple_inferrer_const_closure4_test.dart
index b52e17adbcfd22114627c064e34dc971716a4eff..8728cfb4818fc55657bb66ef561f54b9f7688f65 100644
--- a/tests/compiler/dart2js/simple_inferrer_const_closure4_test.dart
+++ b/tests/compiler/dart2js/simple_inferrer_const_closure4_test.dart
@@ -30,7 +30,7 @@ void main() {
Uri uri = new Uri(scheme: 'source');
var compiler = compilerFor(TEST, uri);
asyncTest(() => compiler.run(uri).then((_) {
- var typesInferrer = compiler.typesTask.typesInferrer;
+ var typesInferrer = compiler.globalInference.typesInferrer;
checkArgument(String functionName, type) {
var functionElement = findElement(compiler, functionName);
@@ -41,7 +41,7 @@ void main() {
functionName);
}
- checkArgument('method', compiler.typesTask.numType);
- checkArgument('returnNum', compiler.typesTask.numType);
+ checkArgument('method', compiler.commonMasks.numType);
+ checkArgument('returnNum', compiler.commonMasks.numType);
}));
}

Powered by Google App Engine
This is Rietveld 408576698