Index: sdk/lib/_internal/compiler/implementation/lib/js_string.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/lib/js_string.dart b/sdk/lib/_internal/compiler/implementation/lib/js_string.dart |
index dcb5b4ef98aee34ac33caa11216fccc145b6ff9d..6d81f320c994d8b780d01512fd824d4ff934caa5 100644 |
--- a/sdk/lib/_internal/compiler/implementation/lib/js_string.dart |
+++ b/sdk/lib/_internal/compiler/implementation/lib/js_string.dart |
@@ -149,9 +149,7 @@ class JSString implements String { |
return result; |
} |
- Iterable<int> get codeUnits { |
- throw new UnimplementedError("String.codeUnits"); |
- } |
+ Iterable<int> get codeUnits => new CodeUnits(this); |
Runes get runes => new Runes(this); |