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

Unified Diff: lib/dartdoc/utils.dart

Issue 10823257: Refactored accessors in mirrors from methods to properties. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Missing updates 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 | « lib/dartdoc/mirrors/mirrors_util.dart ('k') | tests/compiler/dart2js/mirrors_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dartdoc/utils.dart
diff --git a/lib/dartdoc/utils.dart b/lib/dartdoc/utils.dart
index 21eba28cfb1314fed83eddd3708dc77b3dfa541a..0bd4164fb558fa3026e1716d3b797a50d40ca132 100644
--- a/lib/dartdoc/utils.dart
+++ b/lib/dartdoc/utils.dart
@@ -50,8 +50,8 @@ String unindent(String text, int indentation) {
List<Mirror> orderByName(Collection<Mirror> list) {
final elements = new List<Mirror>.from(list);
elements.sort((a,b) {
- String aName = a.simpleName();
- String bName = b.simpleName();
+ String aName = a.simpleName;
+ String bName = b.simpleName;
bool doma = aName.startsWith(@"$dom");
bool domb = bName.startsWith(@"$dom");
return doma == domb ? aName.compareTo(bName) : doma ? 1 : -1;
« no previous file with comments | « lib/dartdoc/mirrors/mirrors_util.dart ('k') | tests/compiler/dart2js/mirrors_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698