anchor.diff:    }
   
     void test_issue_34610_missing_param() {
  +    final unit = parseCompilationUnit('class C { C => null; }',
  +        errors: usingFastaParser
  +            ? [expectedError(ParserErrorCode.MISSING_METHOD_PARAMETERS, 10, 1)]
  +            : [
  +                expectedError(ParserErrorCode.EXPECTED_CLASS_MEMBER, 18, 2),
  +                expectedError(ParserErrorCode.EXPECTED_CLASS_MEMBER, 18, 2),
  +                expectedError(ParserErrorCode.UNEXPECTED_TOKEN, 18, 2),
  +                expectedError(ParserErrorCode.EXPECTED_CLASS_MEMBER, 21, 4),
  +                expectedError(ParserErrorCode.UNEXPECTED_TOKEN, 21, 4),
  +                expectedError(ParserErrorCode.UNEXPECTED_TOKEN, 25, 1),
  +              ]);
  +    ClassDeclaration declaration = unit.declarations[0];
  +    if (usingFastaParser) {
  +      ConstructorDeclaration constructor = declaration.members[0];
  +      expect(constructor.name, isNull);
  +      expect(constructor.parameters, isNotNull);
  +      expect(constructor.parameters.parameters, hasLength(0));
  +    } else {
  +      FieldDeclaration field = declaration.members[0];
  +      expect(field.fields.type.toSource(), 'C');
  +    }
  +  }
  +
  +  void test_issue_34610_named_missing_param() {
       final unit = parseCompilationUnit('class C { C.named => null; }',
           errors: usingFastaParser
               ? [expectedError(ParserErrorCode.MISSING_METHOD_PARAMETERS, 10, 1)]
  
positive.code:       FieldDeclaration field = declaration.members[0];
        expect(field.fields.type.toSource(), 'C.named');
      }
    }
  
    void test_keywordInPlaceOfIdentifier() {
  
negative.code:     MethodDeclaration method = declaration.members[0];
      expect(method.name.name, 'C');
      expect(method.isGetter, isTrue);
      expect(method.parameters, isNull);
    }
  
    void test_issue_34610_initializers() {
  