OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 |
| 5 // Regression test for issue 26543 |
4 | 6 |
5 class C { | 7 class C { |
6 static var _privateField = 42; | 8 var x; |
| 9 C() : x = null ?? <int, int>{} {} |
7 } | 10 } |
8 | 11 |
9 get privateFieldSymbolInOther => #_privateField; | 12 main() { |
| 13 print(new C()); |
| 14 } |
OLD | NEW |