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

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

Issue 2603263002: Prefix resolution_types with Resolution. (Closed)
Patch Set: Rebased Created 3 years, 11 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/subtype_test.dart ('k') | tests/compiler/dart2js/type_equals_test.dart » ('j') | 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 7a2ed2283c648c28ce2bb14a045034c31bb385c8..10fb244f8a147aa46c8491f69c85057a0fe11cd9 100644
--- a/tests/compiler/dart2js/type_checker_test.dart
+++ b/tests/compiler/dart2js/type_checker_test.dart
@@ -71,7 +71,7 @@ main() {
}
testSimpleTypes(MockCompiler compiler) {
- checkType(DartType type, String code) {
+ checkType(ResolutionDartType type, String code) {
Expect.equals(type, analyzeType(compiler, code));
}
@@ -2649,7 +2649,7 @@ Future setup(test(MockCompiler compiler)) {
return compiler.init("import 'dart:async';").then((_) => test(compiler));
}
-DartType analyzeType(MockCompiler compiler, String text) {
+ResolutionDartType analyzeType(MockCompiler compiler, String text) {
var node = parseExpression(text);
TypeCheckerVisitor visitor = new TypeCheckerVisitor(
compiler, new TreeElementMapping(null), compiler.types);
« no previous file with comments | « tests/compiler/dart2js/subtype_test.dart ('k') | tests/compiler/dart2js/type_equals_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698