// Copyright (c) 2019, the Dart project authors.  Please see the AUTHORS file
// 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.


void f() {
  void g(Object x) {
    if (x is String) {
      x.length; //# 01: ok
    }

    void h() {
      x = 42;
    }

    if (x is String) {
      x.length; //# 02: compile-time error
    }
  }
}

void main() {}
