| 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 library dart2js.semantics_visitor_test; | 5 library dart2js.semantics_visitor_test; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:mirrors'; | 8 import 'dart:mirrors'; |
| 9 import 'package:async_helper/async_helper.dart'; | 9 import 'package:async_helper/async_helper.dart'; |
| 10 import 'package:expect/expect.dart'; | 10 import 'package:expect/expect.dart'; |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 VisitKind.VISIT_TOP_LEVEL_METHOD_SETTER_COMPOUND, | 188 VisitKind.VISIT_TOP_LEVEL_METHOD_SETTER_COMPOUND, |
| 189 VisitKind.VISIT_TOP_LEVEL_METHOD_SETTER_PREFIX, | 189 VisitKind.VISIT_TOP_LEVEL_METHOD_SETTER_PREFIX, |
| 190 VisitKind.VISIT_TOP_LEVEL_METHOD_SETTER_POSTFIX, | 190 VisitKind.VISIT_TOP_LEVEL_METHOD_SETTER_POSTFIX, |
| 191 VisitKind.VISIT_SUPER_METHOD_SETTER_COMPOUND, | 191 VisitKind.VISIT_SUPER_METHOD_SETTER_COMPOUND, |
| 192 VisitKind.VISIT_SUPER_METHOD_SETTER_PREFIX, | 192 VisitKind.VISIT_SUPER_METHOD_SETTER_PREFIX, |
| 193 VisitKind.VISIT_SUPER_METHOD_SETTER_POSTFIX, | 193 VisitKind.VISIT_SUPER_METHOD_SETTER_POSTFIX, |
| 194 // The constant expressions of assignment to constant type literals cannot be | 194 // The constant expressions of assignment to constant type literals cannot be |
| 195 // handled the compile constant evaluator. | 195 // handled the compile constant evaluator. |
| 196 VisitKind.VISIT_CLASS_TYPE_LITERAL_SET, | 196 VisitKind.VISIT_CLASS_TYPE_LITERAL_SET, |
| 197 VisitKind.VISIT_TYPEDEF_TYPE_LITERAL_SET, | 197 VisitKind.VISIT_TYPEDEF_TYPE_LITERAL_SET, |
| 198 VisitKind.VISIT_DYNAMIC_TYPE_LITERAL_SET, | |
| 199 // Invalid assignments is currently report through an erroneous element. | 198 // Invalid assignments is currently report through an erroneous element. |
| 200 VisitKind.VISIT_TYPE_VARIABLE_TYPE_LITERAL_SET, | 199 VisitKind.VISIT_TYPE_VARIABLE_TYPE_LITERAL_SET, |
| 201 VisitKind.VISIT_FINAL_PARAMETER_SET, | 200 VisitKind.VISIT_FINAL_PARAMETER_SET, |
| 202 VisitKind.VISIT_FINAL_LOCAL_VARIABLE_SET, | 201 VisitKind.VISIT_FINAL_LOCAL_VARIABLE_SET, |
| 203 VisitKind.VISIT_LOCAL_FUNCTION_SET, | 202 VisitKind.VISIT_LOCAL_FUNCTION_SET, |
| 204 VisitKind.VISIT_STATIC_GETTER_SET, | 203 VisitKind.VISIT_STATIC_GETTER_SET, |
| 205 VisitKind.VISIT_FINAL_STATIC_FIELD_SET, | 204 VisitKind.VISIT_FINAL_STATIC_FIELD_SET, |
| 206 VisitKind.VISIT_STATIC_FUNCTION_SET, | 205 VisitKind.VISIT_STATIC_FUNCTION_SET, |
| 207 VisitKind.VISIT_FINAL_TOP_LEVEL_FIELD_SET, | 206 VisitKind.VISIT_FINAL_TOP_LEVEL_FIELD_SET, |
| 208 VisitKind.VISIT_TOP_LEVEL_GETTER_SET, | 207 VisitKind.VISIT_TOP_LEVEL_GETTER_SET, |
| (...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 728 ERROR_INVALID_INDEX_SET, | 727 ERROR_INVALID_INDEX_SET, |
| 729 ERROR_INVALID_COMPOUND_INDEX_SET, | 728 ERROR_INVALID_COMPOUND_INDEX_SET, |
| 730 ERROR_INVALID_INDEX_PREFIX, | 729 ERROR_INVALID_INDEX_PREFIX, |
| 731 ERROR_INVALID_INDEX_POSTFIX, | 730 ERROR_INVALID_INDEX_POSTFIX, |
| 732 | 731 |
| 733 VISIT_CONSTANT_GET, | 732 VISIT_CONSTANT_GET, |
| 734 VISIT_CONSTANT_INVOKE, | 733 VISIT_CONSTANT_INVOKE, |
| 735 | 734 |
| 736 PREVISIT_DEFERRED_ACCESS, | 735 PREVISIT_DEFERRED_ACCESS, |
| 737 } | 736 } |
| OLD | NEW |