Index: pkg/compiler/lib/src/string_validator.dart |
diff --git a/pkg/compiler/lib/src/string_validator.dart b/pkg/compiler/lib/src/string_validator.dart |
index e996908c46173fc230acb738c692013559bafc45..b81661a9415f7edd310d153b8e3b356ed39d4a11 100644 |
--- a/pkg/compiler/lib/src/string_validator.dart |
+++ b/pkg/compiler/lib/src/string_validator.dart |
@@ -200,6 +200,7 @@ class StringValidator { |
length++; |
if (code > 0x10FFFF) { |
stringParseError("Invalid code point", token, index); |
+ return null; |
} |
} |
} |