blob: 67c3ef8148012c9df38d29b6efbab5be2a326365 [file] [log] [blame]
// Copyright (c) 2016, 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.
class Foo {
var _field;
class FooValue {}
class Bar {
var _field; // Same name.
class BarValue {}
main() {
var foo = new Foo();
foo._field = new FooValue();
var fooValue = foo._field;
var bar = new Bar();
bar._field = new BarValue();
var barValue = bar._field;