| Index: pkg/analyzer/lib/src/generated/constant.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/constant.dart b/pkg/analyzer/lib/src/generated/constant.dart
|
| index f5f6b721553e399807fc3538d7a0fd76051ac84d..45a774bbc4693bd9a2b85544b80eb55f05a8d311 100644
|
| --- a/pkg/analyzer/lib/src/generated/constant.dart
|
| +++ b/pkg/analyzer/lib/src/generated/constant.dart
|
| @@ -315,7 +315,7 @@ class ConstantValueComputer {
|
| * Determine whether the given string is a valid name for a public symbol (i.e. whether it is
|
| * allowed for a call to the Symbol constructor).
|
| */
|
| - static bool isValidPublicSymbol(String name) => name.isEmpty || new JavaPatternMatcher(_PUBLIC_SYMBOL_PATTERN, name).matches();
|
| + static bool isValidPublicSymbol(String name) => name.isEmpty || name == "void" || new JavaPatternMatcher(_PUBLIC_SYMBOL_PATTERN, name).matches();
|
|
|
| /**
|
| * The type provider used to access the known types.
|
|
|