anchor.diff:      expect(recordPattern.fields[0].pattern, TypeMatcher<VariablePattern>());
     }
   
  -  test_typed_variable_named_as_inside_record_pattern_named() {
  -    _parse('''
  -test(dynamic x) {
  -  switch (x) {
  -    case (n: int as, 2):
  -      break;
  -  }
  -}
  -''');
  -    var switchPatternCase = findNode.switchPatternCase("(n: int as, 2)");
  -    var recordPattern = switchPatternCase.pattern as RecordPattern;
  -    expect(recordPattern.fields[0].pattern, TypeMatcher<VariablePattern>());
  -  }
  -
  -  test_typed_variable_named_as_inside_record_pattern_unnamed() {
  +  test_variable_typedNamedAs_insideRecord_unnamed() {
       _parse('''
   test(dynamic x) {
     switch (x) {
  
positive.code:     expect(mapPattern.entries[0].value, TypeMatcher<CastPattern>());
    }
  
    test_cast_inside_parenthesized_pattern() {
      _parse('''
  test(dynamic x) {
    switch (x) {
  
negative.code:     expect(extractorPattern.fields[0].pattern, TypeMatcher<PostfixPattern>());
    }
  
    test_nullCheck_insideExtractor_implicitlyNamed() {
      _parse('''
  class C {
    int? f;
  