| Index: pkg/analysis_server/tool/spec/codegen_matchers.dart
|
| diff --git a/pkg/analysis_server/tool/spec/codegen_matchers.dart b/pkg/analysis_server/tool/spec/codegen_matchers.dart
|
| index 2db268d74869f7fd5ce420eca1929c3647be86a5..15b4f9420a28301d8c96255d6aac7aefc6e41e26 100644
|
| --- a/pkg/analysis_server/tool/spec/codegen_matchers.dart
|
| +++ b/pkg/analysis_server/tool/spec/codegen_matchers.dart
|
| @@ -103,7 +103,7 @@ class CodegenMatchersVisitor extends HierarchicalApiVisitor with CodeGenerator {
|
|
|
| @override
|
| visitTypeEnum(TypeEnum typeEnum) {
|
| - writeln('isIn([');
|
| + writeln('new MatchesEnum(${JSON.encode(context)}, [');
|
| indent(() {
|
| bool commaNeeded = false;
|
| for (TypeEnumValue value in typeEnum.values) {
|
|
|