Chromium Code Reviews

Unified Diff: pkg/logging/logging.dart

Issue 10854191: Require two type arguments for map literals (issue 4522). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: pkg/logging/logging.dart
===================================================================
--- pkg/logging/logging.dart (revision 10854)
+++ pkg/logging/logging.dart (working copy)
@@ -54,7 +54,7 @@
if (name.startsWith('.')) {
throw new IllegalArgumentException("name shouldn't start with a '.'");
}
- if (_loggers == null) _loggers = <Logger>{};
+ if (_loggers == null) _loggers = <String, Logger>{};
if (_loggers.containsKey(name)) return _loggers[name];
// Split hierarchical names (separated with '.').

Powered by Google App Engine