| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 /** | 5 /** |
| 6 * This file is read by 'mirrors_test.dart'. | 6 * This file is read by 'mirrors_test.dart'. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 library mirrors_helper; | 9 library mirrors_helper; |
| 10 | 10 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 _field2 = value; | 61 _field2 = value; |
| 62 } | 62 } |
| 63 } | 63 } |
| 64 | 64 |
| 65 class _PrivateClass { | 65 class _PrivateClass { |
| 66 var _privateField; | 66 var _privateField; |
| 67 get _privateGetter => _privateField; | 67 get _privateGetter => _privateField; |
| 68 void set _privateSetter(value) => _privateField = value; | 68 void set _privateSetter(value) => _privateField = value; |
| 69 void _privateMethod() {} | 69 void _privateMethod() {} |
| 70 _PrivateClass._privateConstructor(); | 70 _PrivateClass._privateConstructor(); |
| 71 factory _PrivateClass._privateFactoryConstructor() => new _PrivateClass(); | 71 factory _PrivateClass._privateFactoryConstructor() => null; |
| 72 } | 72 } |
| 73 | 73 |
| 74 const metadata = const Metadata(null); | 74 const metadata = const Metadata(null); |
| 75 | 75 |
| 76 class Metadata { | 76 class Metadata { |
| 77 final data; | 77 final data; |
| 78 const Metadata(this.data); | 78 const Metadata(this.data); |
| 79 } | 79 } |
| OLD | NEW |