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

Unified Diff: lib/dartdoc/utils.dart

Issue 10780030: Dartdoc and apidoc updated to use Path. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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
Index: lib/dartdoc/utils.dart
diff --git a/lib/dartdoc/utils.dart b/lib/dartdoc/utils.dart
index 9e0400826f635e3f07ae238f0a495116c269e363..21eba28cfb1314fed83eddd3708dc77b3dfa541a 100644
--- a/lib/dartdoc/utils.dart
+++ b/lib/dartdoc/utils.dart
@@ -47,7 +47,7 @@ String unindent(String text, int indentation) {
}
/** Sorts the map by the key, doing a case-insensitive comparison. */
-List<Mirror> orderByName(List<Mirror> list) {
+List<Mirror> orderByName(Collection<Mirror> list) {
final elements = new List<Mirror>.from(list);
elements.sort((a,b) {
String aName = a.simpleName();

Powered by Google App Engine
This is Rietveld 408576698