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 a13bbfe16952eea5d2bd886c5f6c01c3c89dec2f..b3bcb616edce3981820f5e82dc512274e6a8bb2f 100644 |
--- a/sdk/lib/_internal/compiler/implementation/string_validator.dart |
+++ b/sdk/lib/_internal/compiler/implementation/string_validator.dart |
@@ -172,7 +172,6 @@ class StringValidator { |
} |
} |
if (code >= 0x10000) length++; |
- assert(code <= 0x10ffff); |
// This handles both unescaped characters and the value of unicode |
// escapes. |
if (previousWasLeadSurrogate) { |