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

Unified Diff: lib/compiler/implementation/lib/string_helper.dart

Issue 11085003: Convert String to a class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove left-over List change in comment. 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: lib/compiler/implementation/lib/string_helper.dart
diff --git a/lib/compiler/implementation/lib/string_helper.dart b/lib/compiler/implementation/lib/string_helper.dart
index a67e784c6de3496ec1a20c193ad48a14d2a22693..6556bcc7744b861fda4b8fdcc8163f5631a70de4 100644
--- a/lib/compiler/implementation/lib/string_helper.dart
+++ b/lib/compiler/implementation/lib/string_helper.dart
@@ -106,7 +106,7 @@ stringReplaceAllUnchecked(receiver, from, to) {
} else {
checkNull(from);
// TODO(floitsch): implement generic String.replace (with patterns).
- throw "StringImplementation.replaceAll(Pattern) UNIMPLEMENTED";
+ throw "String.replaceAll(Pattern) UNIMPLEMENTED";
}
}
@@ -119,7 +119,7 @@ stringReplaceFirstUnchecked(receiver, from, to) {
} else {
checkNull(from);
// TODO(floitsch): implement generic String.replace (with patterns).
- throw "StringImplementation.replace(Pattern) UNIMPLEMENTED";
+ throw "String.replace(Pattern) UNIMPLEMENTED";
}
}
@@ -130,7 +130,7 @@ stringSplitUnchecked(receiver, pattern) {
var re = regExpGetNative(pattern);
return JS('List', r'#.split(#)', receiver, re);
} else {
- throw "StringImplementation.split(Pattern) UNIMPLEMENTED";
+ throw "String.split(Pattern) UNIMPLEMENTED";
}
}

Powered by Google App Engine
This is Rietveld 408576698