Don't mix commented and uncommented generics.
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//1848563002 .
diff --git a/CHANGELOG.md b/CHANGELOG.md
index cde274e..023abd4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 1.5.1
+
+* Fix an incorrectly-declared generic type.
+
## 1.5.0
* Add `DelegatingIterable.typed()`, `DelegatingList.typed()`,
diff --git a/lib/src/wrappers.dart b/lib/src/wrappers.dart
index 97de461..752987b 100644
--- a/lib/src/wrappers.dart
+++ b/lib/src/wrappers.dart
@@ -359,7 +359,7 @@
/// 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];
diff --git a/pubspec.yaml b/pubspec.yaml
index 5023dbe..d9680c7 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
name: collection
-version: 1.5.0
+version: 1.5.1
author: Dart Team <misc@dartlang.org>
description: Collections and utilities functions and classes related to collections.
homepage: https://www.github.com/dart-lang/collection