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

Unified Diff: utils/pub/yaml/composer.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: utils/pub/yaml/composer.dart
diff --git a/utils/pub/yaml/composer.dart b/utils/pub/yaml/composer.dart
index 52d9885097d46a7770ae6060de9cd48ef5217be2..671cbdf30b8ecf3616f92c3d59bd4ebf1b07b046 100644
--- a/utils/pub/yaml/composer.dart
+++ b/utils/pub/yaml/composer.dart
@@ -130,7 +130,7 @@ class _Composer extends _Visitor {
if (match != null) {
// TODO(nweiz): clean this up when Dart can parse an octal string
var n = 0;
- for (var c in match.group(1).charCodes()) {
+ for (var c in match.group(1).charCodes) {
n *= 8;
n += c - 48;
}

Powered by Google App Engine
This is Rietveld 408576698