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

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

Issue 11266050: Rename regexp methods to getters. (Closed) Base URL: https://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
Index: pkg/dartdoc/lib/mirrors.dart
diff --git a/pkg/dartdoc/lib/mirrors.dart b/pkg/dartdoc/lib/mirrors.dart
index e61917181c22de14ee5072c6b5df4448ea110968..d6a8010834419263bee8c0ece2f097ec1b0f48f8 100644
--- a/pkg/dartdoc/lib/mirrors.dart
+++ b/pkg/dartdoc/lib/mirrors.dart
@@ -481,8 +481,8 @@ abstract class Location {
/**
* Returns the [Source] in which this [Location] indexes.
- * If [:loc:] is a location, [:loc.source().text()[loc.start()] is where it
- * starts, and [:loc.source().text()[loc.end()] is where it ends.
+ * If [:loc:] is a location, [:loc.source().text()[loc.start]:] is where it
+ * starts, and [:loc.source().text()[loc.end]:] is where it ends.
*/
Source get source;

Powered by Google App Engine
This is Rietveld 408576698