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

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

Issue 1383503002: Add Resolution and Parsing interfaces for computeType, ensureResolved and parseNode. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Add TODOs. Created 5 years, 3 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/compiler_test.dart
diff --git a/tests/compiler/dart2js/compiler_test.dart b/tests/compiler/dart2js/compiler_test.dart
index 3b1f425fa23914fb40997b98af1794c0637c395e..deb480b426dcdf8675ab046d60b334edd6e08f95 100644
--- a/tests/compiler/dart2js/compiler_test.dart
+++ b/tests/compiler/dart2js/compiler_test.dart
@@ -50,7 +50,7 @@ Future testErrorHandling() {
FunctionElement foo = compiler.mainApp.find('foo');
compiler.setOnWarning(
(c, n, m) => Expect.equals(foo, compiler.currentElement));
- foo.computeType(compiler);
+ foo.computeType(compiler.resolution);
Expect.equals(1, compiler.warnings.length);
});
}

Powered by Google App Engine
This is Rietveld 408576698