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

Side by Side Diff: runtime/lib/string_patch.dart

Issue 11085003: Convert String to a class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merged to tip of bleeding_edge. Updated test expecteation 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/lib/lib_sources.gypi ('k') | runtime/vm/class_finalizer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 patch class _StringImpl { 5 patch class String {
6 /* patch */ factory String.fromCharCodes(List<int> charCodes) { 6 /* patch */ factory String.fromCharCodes(List<int> charCodes) {
7 return _StringBase.createFromCharCodes(charCodes); 7 return _StringBase.createFromCharCodes(charCodes);
8 } 8 }
9 }
9 10
11 patch class Strings {
10 /* patch */ static String join(List<String> strings, String separator) { 12 /* patch */ static String join(List<String> strings, String separator) {
11 return _StringBase.join(strings, separator); 13 return _StringBase.join(strings, separator);
12 } 14 }
13 15
14 /* patch */ static String concatAll(List<String> strings) { 16 /* patch */ static String concatAll(List<String> strings) {
15 return _StringBase.concatAll(strings); 17 return _StringBase.concatAll(strings);
16 } 18 }
17 } 19 }
OLDNEW
« no previous file with comments | « runtime/lib/lib_sources.gypi ('k') | runtime/vm/class_finalizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698