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

Unified Diff: lib/src/equality.dart

Issue 1948223002: Fix all strong-mode warnings. (Closed) Base URL: git@github.com:dart-lang/yaml@master
Patch Set: Created 4 years, 7 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') | lib/src/loader.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/equality.dart
diff --git a/lib/src/equality.dart b/lib/src/equality.dart
index a6874cb41e613f348ef0df2f6693548de1478b41..846f7168ad22d458b253ceb919d57219b2476d14 100644
--- a/lib/src/equality.dart
+++ b/lib/src/equality.dart
@@ -9,7 +9,8 @@ import 'package:collection/collection.dart';
import 'yaml_node.dart';
/// Returns a [Map] that compares its keys based on [deepEquals].
-Map deepEqualsMap() => new HashMap(equals: deepEquals, hashCode: deepHashCode);
+Map/*<K, V>*/ deepEqualsMap/*<K, V>*/() =>
+ new HashMap(equals: deepEquals, hashCode: deepHashCode);
/// Returns whether two objects are structurally equivalent.
///
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/loader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698