blob: 8dc07c863939c55a7037c82e964702bdde545c0e [file] [log] [blame]
// 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.
import 'member1_lib.dart';
class A {}
class Test extends B {
test() {
_instanceField = true;
// [error column 5, length 14]
// [analyzer] COMPILE_TIME_ERROR.UNDEFINED_IDENTIFIER
// [cfe] The setter '_instanceField' isn't defined for the type 'Test'.
}
}
void main() {
Test().test();
}