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

Unified Diff: lib/core/string.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/core/string.dart
diff --git a/lib/core/string.dart b/lib/core/string.dart
index b841cf3d06b61def76450bfb04d15fa38b141aed..2eaa41aeb58ac6f90c3aab77ab42794c092055f7 100644
--- a/lib/core/string.dart
+++ b/lib/core/string.dart
@@ -8,13 +8,11 @@
* scalar character codes accessible through the [charCodeAt] or the
* [charCodes] method.
*/
-interface String
- extends Comparable, Pattern
- default StringImplementation {
+abstract class String implements Comparable, Pattern {
/**
* Allocates a new String for the specified [charCodes].
*/
- String.fromCharCodes(List<int> charCodes);
+ external factory String.fromCharCodes(List<int> charCodes);
/**
* Gets the character (as [String]) at the given [index].

Powered by Google App Engine
This is Rietveld 408576698