Index: utils/pub/validator/name.dart |
diff --git a/utils/pub/validator/name.dart b/utils/pub/validator/name.dart |
index 2ad4bc9faa00ac7eaf4b18009716758f78e2a369..249a0c9ee76e2907d4c700d9e2424c0e296d9066 100644 |
--- a/utils/pub/validator/name.dart |
+++ b/utils/pub/validator/name.dart |
@@ -16,9 +16,10 @@ import '../validator.dart'; |
/// Dart reserved words, from the Dart spec. |
final _RESERVED_WORDS = [ |
- "abstract", "as", "dynamic", "export", "external", "factory", "get", |
- "implements", "import", "library", "operator", "part", "set", "static", |
- "typedef" |
+ "assert", "break", "case", "catch", "class", "const", "continue", "default", |
+ "do", "else", "extends", "false", "final", "finally", "for", "if", "in", "is", |
+ "new", "null", "return", "super", "switch", "this", "throw", "true", "try", |
+ "var", "void", "while", "with" |
]; |
/// A validator that validates the name of the package and its libraries. |