| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 part of myApp; | |
| 5 | 4 |
| 6 class Other0 { | 5 class Other0 { |
| 7 static int value() { return 42; } | 6 static int value() { return 42; } |
| 8 | 7 |
| 9 int field_; | 8 int field_; |
| 10 | 9 |
| 11 Other0() : this.field_ = 42 { } | 10 Other0() : this.field_ = 42 { } |
| 12 int get field { return field_; } | 11 int get field { return field_; } |
| 13 } | 12 } |
| 14 | 13 |
| 15 int globalVar = 42; | 14 int globalVar = 42; |
| 16 | 15 |
| 17 int globalFunction() { | 16 int globalFunction() { |
| 18 return 42; | 17 return 42; |
| 19 } | 18 } |
| 20 | 19 |
| 21 // The definition of this class should not cause a recompile of my.dart, because | 20 // The definition of this class should not cause a recompile of my.dart, because |
| 22 // my.dart/Foo's reference to 'not_hole' is super-qualified. | 21 // my.dart/Foo's reference to 'not_hole' is super-qualified. |
| 23 class not_hole { | 22 class not_hole { |
| 24 static final int contents = 42; | 23 static final int contents = 42; |
| 25 } | 24 } |
| OLD | NEW |