OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 part of dart2js.semantics_visitor_test; | 5 part of dart2js.semantics_visitor_test; |
6 | 6 |
7 const Map<String, List<Test>> SEND_TESTS = const { | 7 const Map<String, List<Test>> SEND_TESTS = const { |
8 'Parameters': const [ | 8 'Parameters': const [ |
9 // Parameters | 9 // Parameters |
10 const Test('m(o) => o;', | 10 const Test('m(o) => o;', |
(...skipping 3547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3558 ''' | 3558 ''' |
3559 m(a) => a ??= 42; | 3559 m(a) => a ??= 42; |
3560 ''', | 3560 ''', |
3561 const Visit( | 3561 const Visit( |
3562 VisitKind.VISIT_PARAMETER_COMPOUND, | 3562 VisitKind.VISIT_PARAMETER_COMPOUND, |
3563 element: 'parameter(m#a)', | 3563 element: 'parameter(m#a)', |
3564 operator: '??=', | 3564 operator: '??=', |
3565 rhs: '42')), | 3565 rhs: '42')), |
3566 ], | 3566 ], |
3567 }; | 3567 }; |
OLD | NEW |