Index: pkg/analyzer/lib/src/generated/error_verifier.dart |
diff --git a/pkg/analyzer/lib/src/generated/error_verifier.dart b/pkg/analyzer/lib/src/generated/error_verifier.dart |
index ca2b9b5aacea9a429872846fce668bc5acef51e4..98afc2e39a70d4d78ea8d238f9526013c6e8ee6d 100644 |
--- a/pkg/analyzer/lib/src/generated/error_verifier.dart |
+++ b/pkg/analyzer/lib/src/generated/error_verifier.dart |
@@ -5379,7 +5379,9 @@ class ErrorVerifier extends RecursiveAstVisitor<Object> { |
} |
// name should start with '_' |
SimpleIdentifier name = parameter.identifier; |
- if (name.isSynthetic || !StringUtilities.startsWithChar(name.name, 0x5F)) { |
+ if (name == null || |
+ name.isSynthetic || |
+ !StringUtilities.startsWithChar(name.name, 0x5F)) { |
return; |
} |