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

Unified Diff: lib/src/wrappers.dart

Issue 1848563002: Don't mix commented and uncommented generics. (Closed) Base URL: git@github.com:dart-lang/collection@master
Patch Set: Created 4 years, 9 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 | « CHANGELOG.md ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/wrappers.dart
diff --git a/lib/src/wrappers.dart b/lib/src/wrappers.dart
index 97de461c1af500d1898335652995893aa545ac25..752987b10180648306817a9891bb27c816f79c22 100644
--- a/lib/src/wrappers.dart
+++ b/lib/src/wrappers.dart
@@ -359,7 +359,7 @@ class DelegatingMap<K, V> implements Map<K, V> {
/// reflected in [this]. If [base] is already a `Map<K, V>`, it's returned
/// unmodified.
static Map/*<K, V>*/ typed/*<K, V>*/(Map base) =>
- base is Map<K, V> ? base : new TypeSafeMap<K, V>(base);
+ base is Map/*<K, V>*/ ? base : new TypeSafeMap/*<K, V>*/(base);
V operator [](Object key) => _base[key];
« no previous file with comments | « CHANGELOG.md ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698