anchor.diff:    }
   }
   ''', [
  -      error(StaticTypeWarningCode.INVALID_ASSIGNMENT, 70, 1),
  +      error(StaticTypeWarningCode.INVALID_ASSIGNMENT, 74, 1),
       ]);
     }
   
  
positive.code: // for details. All rights reserved. Use of this source code is governed by a
  // BSD-style license that can be found in the LICENSE file.
  
  import 'package:analyzer/src/error/codes.dart';
  import 'package:test_reflective_loader/test_reflective_loader.dart';
  
  import '../dart/resolution/driver_resolution.dart';
  
negative.code:   test_instanceVariable() async {
      await assertErrorsInCode(r'''
  class A {
    int x = 7;
  }
  f(var y) {
    A a = A();
    if (y is String) {
      a.x = y;
    }
  }
  ''', [
        error(StaticTypeWarningCode.INVALID_ASSIGNMENT, 80, 1),
      ]);
    }
  
  