blob: 26c42906ef9e182a36912e9a50966e6d63bb2f03 [file] [log] [blame]
// Copyright (c) 2011, 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 Other0 {
static int value() { return 42; }
int field_;
Other0() : this.field_ = 42 { }
int get field { return field_; }
}
int globalVar = 42;
int globalFunction() {
return 42;
}
// The definition of this var should force a recompile of my.dart/Foo, because
// it ends up binding to an unqualified reference of one of Foo's superclass
// fields (hole).
int hole = 42;