| 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; |
| 4 | 5 |
| 5 class Other0 { | 6 class Other0 { |
| 6 static int value() { return 42; } | 7 static int value() { return 42; } |
| 7 static String strValue() { return "42"; } | 8 static String strValue() { return "42"; } |
| 8 | 9 |
| 9 int field_; | 10 int field_; |
| 10 | 11 |
| 11 Other0() : this.field_ = 42 { } | 12 Other0() : this.field_ = 42 { } |
| 12 int get field { return field_; } | 13 int get field { return field_; } |
| 13 } | 14 } |
| 14 | 15 |
| 15 int globalVar = 42; | 16 int globalVar = 42; |
| 16 | 17 |
| 17 int globalFunction() { | 18 int globalFunction() { |
| 18 return 42; | 19 return 42; |
| 19 } | 20 } |
| OLD | NEW |