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

Unified Diff: lib/compiler/implementation/dart_backend/renamer.dart

Issue 10829378: Fix another warning. (Closed) Base URL: https://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. 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/dart_backend/renamer.dart
diff --git a/lib/compiler/implementation/dart_backend/renamer.dart b/lib/compiler/implementation/dart_backend/renamer.dart
index ab505a50f213908556a24389e3e1cf781363c7c9..6cb47f76933ce788de7d7a7ba4b5556e60b75b84 100644
--- a/lib/compiler/implementation/dart_backend/renamer.dart
+++ b/lib/compiler/implementation/dart_backend/renamer.dart
@@ -17,7 +17,7 @@ void renamePlaceholders(
int privateNameCounter = 0;
String getName(LibraryElement library, String originalName, renamer) =>
- renamed.putIfAbsent(library, () => <String, String>{})
+ renamed.putIfAbsent(library, () => <String>{})
.putIfAbsent(originalName, renamer);
String renamePrivateIdentifier(LibraryElement library, String id) =>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698