| Index: sdk/lib/_internal/compiler/implementation/string_validator.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/string_validator.dart b/sdk/lib/_internal/compiler/implementation/string_validator.dart
|
| index a5f15e218067e6b85a39ba45c28ced379726c840..f004b66e5e99ee048bc899fc90ba7a7d21830d69 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/string_validator.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/string_validator.dart
|
| @@ -168,6 +168,7 @@ class StringValidator {
|
| code = value;
|
| }
|
| }
|
| + if (code >= 0x10000) ++length;;
|
| // This handles both unescaped characters and the value of unicode
|
| // escapes.
|
| if (!isUnicodeScalarValue(code)) {
|
|
|