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 3498 matching lines...) Loading... |
3509 ''' | 3509 ''' |
3510 m(a) => a ??= 42; | 3510 m(a) => a ??= 42; |
3511 ''', | 3511 ''', |
3512 const Visit( | 3512 const Visit( |
3513 VisitKind.VISIT_PARAMETER_COMPOUND, | 3513 VisitKind.VISIT_PARAMETER_COMPOUND, |
3514 element: 'parameter(m#a)', | 3514 element: 'parameter(m#a)', |
3515 operator: '??=', | 3515 operator: '??=', |
3516 rhs: '42')), | 3516 rhs: '42')), |
3517 ], | 3517 ], |
3518 }; | 3518 }; |
OLD | NEW |