| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 | 4 |
| 5 // Imported by deferred_function_test.dart and | 5 library deferred_constant_library; |
| 6 // deferred_semantics_test.dart. | |
| 7 | 6 |
| 8 library deferred_function_library; | 7 class Constant { |
| 8 final value; |
| 9 const Constant(this.value); |
| 9 | 10 |
| 10 foo(x) { | 11 operator==(other) => other is Constant && value == other.value; |
| 11 print('foo($x)'); | |
| 12 return 42; | |
| 13 } | 12 } |
| OLD | NEW |