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

Unified Diff: test/type_substitution_identity_test.dart

Issue 2439043002: Introduce Substitution class and Supertype class. (Closed)
Patch Set: Created 4 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 | « test/type_substitute_bounds_test.dart ('k') | test/type_subtype_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/type_substitution_identity_test.dart
diff --git a/test/type_substitution_identity_test.dart b/test/type_substitution_identity_test.dart
index d5f76a7af185aa1389bdcf96ab7414e487ad42a1..d07da2adc3cfc5c3318db0508e484a8184c35ccf 100644
--- a/test/type_substitution_identity_test.dart
+++ b/test/type_substitution_identity_test.dart
@@ -13,7 +13,7 @@ checkType(DartType type) {
if (!identical(type, other)) {
fail('Identity substitution test failed for $type');
}
- other = substituteBounds(type, map, map);
+ other = Substitution.fromUpperAndLowerBounds(map, map).substituteType(type);
if (!identical(type, other)) {
fail('Identity bounded substitution test failed for $type');
}
« no previous file with comments | « test/type_substitute_bounds_test.dart ('k') | test/type_subtype_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698