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

Unified Diff: pkg/dartdoc/lib/dartdoc.dart

Issue 11013016: Dartdoc should sort constructors by constructorName, not by class name (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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: pkg/dartdoc/lib/dartdoc.dart
===================================================================
--- pkg/dartdoc/lib/dartdoc.dart (revision 13132)
+++ pkg/dartdoc/lib/dartdoc.dart (working copy)
@@ -984,8 +984,8 @@
if (constructors.length > 0) {
writeln('<h3>Constructors</h3>');
- constructors.sort((x, y) => x.simpleName.toUpperCase().compareTo(
- y.simpleName.toUpperCase()));
+ constructors.sort((x, y) => x.constructorName.toUpperCase().compareTo(
+ y.constructorName.toUpperCase()));
for (final constructor in constructors) {
docMethod(type, constructor);
« 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