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 // Dart test for testing access to private fields. | 4 // Dart test for testing access to private fields. |
5 part of Private3Test; | |
6 | 5 |
7 class PrivateLib { | 6 class PrivateLib { |
8 | 7 |
9 final _myPrecious; | 8 final _myPrecious; |
10 | 9 |
11 const PrivateLib() : this._myPrecious = "The Ring"; | 10 const PrivateLib() : this._myPrecious = "The Ring"; |
12 | 11 |
13 } | 12 } |
OLD | NEW |