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

Unified Diff: runtime/lib/string_base.dart

Issue 11263040: Make String.charCodes a getter. (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: runtime/lib/string_base.dart
diff --git a/runtime/lib/string_base.dart b/runtime/lib/string_base.dart
index 9bc0264668ca62738d6ba57352f6d7e42a90c012..f68467fdbba50aac0f4f337aec46b9f8b2ed3ac1 100644
--- a/runtime/lib/string_base.dart
+++ b/runtime/lib/string_base.dart
@@ -302,7 +302,7 @@ class _StringBase {
return result;
}
- List<int> charCodes() {
+ List<int> get charCodes {
int len = this.length;
final result = new List<int>(len);
for (int i = 0; i < len; i++) {

Powered by Google App Engine
This is Rietveld 408576698