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

Unified Diff: lib/type_algebra.dart

Issue 2504313002: Fix some issues after introducing NamedType. (Closed)
Patch Set: Update testcase to cover the missing case Created 4 years, 1 month 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 | « no previous file | lib/type_checker.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/type_algebra.dart
diff --git a/lib/type_algebra.dart b/lib/type_algebra.dart
index 2a4e89544bf478571a144d7e289b9acbd6dedd42..19508b1ab630d540caaad498d6bfae759e8c54a4 100644
--- a/lib/type_algebra.dart
+++ b/lib/type_algebra.dart
@@ -641,12 +641,3 @@ class _OccurrenceVisitor extends DartTypeVisitor<bool> {
return node.bound.accept(this);
}
}
-
-Map<dynamic/*=K*/, dynamic/*=W*/ > _mapValues/*<K,V,W>*/(
- Map<dynamic/*=K*/, dynamic/*=V*/ > map, dynamic/*=W*/ fn(dynamic/*=V*/)) {
- Map<dynamic/*=K*/, dynamic/*=W*/ > result = {};
- map.forEach((key, value) {
- result[key] = fn(value);
- });
- return result;
-}
« no previous file with comments | « no previous file | lib/type_checker.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698