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 | 4 |
5 // Regression test for issue 26543 | 5 // Regression test for issue 26543 |
6 | 6 |
7 class C { | 7 class C { |
8 var x, y; | 8 var x, y; |
9 C() : x = 0, y = null ?? <int, int>{} {} | 9 C() |
| 10 : x = 0, |
| 11 y = null ?? <int, int>{} {} |
10 } | 12 } |
11 | 13 |
12 main() { | 14 main() { |
13 print(new C()); | 15 print(new C()); |
14 } | 16 } |
OLD | NEW |