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

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

Issue 11304021: Add NativeEnqueuer to work with the Enqueuer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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: sdk/lib/_internal/compiler/implementation/lib/string_helper.dart
diff --git a/sdk/lib/_internal/compiler/implementation/lib/string_helper.dart b/sdk/lib/_internal/compiler/implementation/lib/string_helper.dart
index f70a975ac6666af26e3ff84154b97c9ec51140d8..70580dfad7f5ecae00602a08299d741e7ff45a60 100644
--- a/sdk/lib/_internal/compiler/implementation/lib/string_helper.dart
+++ b/sdk/lib/_internal/compiler/implementation/lib/string_helper.dart
@@ -124,10 +124,10 @@ stringReplaceFirstUnchecked(receiver, from, to) {
stringSplitUnchecked(receiver, pattern) {
if (pattern is String) {
- return JS('List', r'#.split(#)', receiver, pattern);
+ return JS('=List', r'#.split(#)', receiver, pattern);
} else if (pattern is JSSyntaxRegExp) {
var re = regExpGetNative(pattern);
- return JS('List', r'#.split(#)', receiver, re);
+ return JS('=List', r'#.split(#)', receiver, re);
} else {
throw "String.split(Pattern) UNIMPLEMENTED";
}

Powered by Google App Engine
This is Rietveld 408576698