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>> DECL_TESTS = const { | 7 const Map<String, List<Test>> DECL_TESTS = const { |
8 'Function declarations': const [ | 8 'Function declarations': const [ |
9 const Test( | 9 const Test( |
10 ''' | 10 ''' |
(...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
861 ''' | 861 ''' |
862 const m = 42; | 862 const m = 42; |
863 ''', | 863 ''', |
864 const [ | 864 const [ |
865 const Visit(VisitKind.VISIT_TOP_LEVEL_CONSTANT_DECL, | 865 const Visit(VisitKind.VISIT_TOP_LEVEL_CONSTANT_DECL, |
866 element: 'field(m)', | 866 element: 'field(m)', |
867 constant: 42), | 867 constant: 42), |
868 ]), | 868 ]), |
869 ], | 869 ], |
870 }; | 870 }; |
OLD | NEW |