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

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

Issue 26546005: Add more specific relation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 7 years, 2 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') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/type_test_helper.dart
diff --git a/tests/compiler/dart2js/type_test_helper.dart b/tests/compiler/dart2js/type_test_helper.dart
index 86d66fb70339e7129f1a550fba7b7ced5ecb40b3..641a07a0d526af11c701dfadb87412e0f809f95f 100644
--- a/tests/compiler/dart2js/type_test_helper.dart
+++ b/tests/compiler/dart2js/type_test_helper.dart
@@ -68,6 +68,10 @@ class TypeEnvironment {
return compiler.types.isSubtype(T, S);
}
+ bool isMoreSpecific(DartType T, DartType S) {
+ return compiler.types.isMoreSpecific(T, S);
+ }
+
SourceString sourceString(String name) => new SourceString(name);
FunctionType functionType(DartType returnType,
« no previous file with comments | « tests/compiler/dart2js/subtype_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698