| 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 // supported by the element model. | 177 // supported by the element model. |
| 178 VisitKind.VISIT_STATIC_METHOD_SETTER_COMPOUND, | 178 VisitKind.VISIT_STATIC_METHOD_SETTER_COMPOUND, |
| 179 VisitKind.VISIT_STATIC_METHOD_SETTER_PREFIX, | 179 VisitKind.VISIT_STATIC_METHOD_SETTER_PREFIX, |
| 180 VisitKind.VISIT_STATIC_METHOD_SETTER_POSTFIX, | 180 VisitKind.VISIT_STATIC_METHOD_SETTER_POSTFIX, |
| 181 VisitKind.VISIT_TOP_LEVEL_METHOD_SETTER_COMPOUND, | 181 VisitKind.VISIT_TOP_LEVEL_METHOD_SETTER_COMPOUND, |
| 182 VisitKind.VISIT_TOP_LEVEL_METHOD_SETTER_PREFIX, | 182 VisitKind.VISIT_TOP_LEVEL_METHOD_SETTER_PREFIX, |
| 183 VisitKind.VISIT_TOP_LEVEL_METHOD_SETTER_POSTFIX, | 183 VisitKind.VISIT_TOP_LEVEL_METHOD_SETTER_POSTFIX, |
| 184 VisitKind.VISIT_SUPER_METHOD_SETTER_COMPOUND, | 184 VisitKind.VISIT_SUPER_METHOD_SETTER_COMPOUND, |
| 185 VisitKind.VISIT_SUPER_METHOD_SETTER_PREFIX, | 185 VisitKind.VISIT_SUPER_METHOD_SETTER_PREFIX, |
| 186 VisitKind.VISIT_SUPER_METHOD_SETTER_POSTFIX, | 186 VisitKind.VISIT_SUPER_METHOD_SETTER_POSTFIX, |
| 187 // Invalid use of setters is currently reported through an erroneous element. |
| 188 VisitKind.VISIT_STATIC_SETTER_INVOKE, |
| 189 VisitKind.VISIT_STATIC_SETTER_GET, |
| 190 VisitKind.VISIT_TOP_LEVEL_SETTER_GET, |
| 191 VisitKind.VISIT_TOP_LEVEL_SETTER_INVOKE, |
| 187 // The constant expressions of assignment to constant type literals cannot be | 192 // The constant expressions of assignment to constant type literals cannot be |
| 188 // handled the compile constant evaluator. | 193 // handled the compile constant evaluator. |
| 189 VisitKind.VISIT_CLASS_TYPE_LITERAL_SET, | 194 VisitKind.VISIT_CLASS_TYPE_LITERAL_SET, |
| 190 VisitKind.VISIT_TYPEDEF_TYPE_LITERAL_SET, | 195 VisitKind.VISIT_TYPEDEF_TYPE_LITERAL_SET, |
| 191 VisitKind.VISIT_DYNAMIC_TYPE_LITERAL_SET, | 196 VisitKind.VISIT_DYNAMIC_TYPE_LITERAL_SET, |
| 192 // Invalid assignments is currently report through an erroneous element. | 197 // Invalid assignments is currently report through an erroneous element. |
| 193 VisitKind.VISIT_TYPE_VARIABLE_TYPE_LITERAL_SET, | 198 VisitKind.VISIT_TYPE_VARIABLE_TYPE_LITERAL_SET, |
| 194 VisitKind.VISIT_FINAL_PARAMETER_SET, | 199 VisitKind.VISIT_FINAL_PARAMETER_SET, |
| 195 VisitKind.VISIT_FINAL_LOCAL_VARIABLE_SET, | 200 VisitKind.VISIT_FINAL_LOCAL_VARIABLE_SET, |
| 196 VisitKind.VISIT_LOCAL_FUNCTION_SET, | 201 VisitKind.VISIT_LOCAL_FUNCTION_SET, |
| (...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 694 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_PREFIX, | 699 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_PREFIX, |
| 695 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_POSTFIX, | 700 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_POSTFIX, |
| 696 | 701 |
| 697 ERROR_INVALID_ASSERT, | 702 ERROR_INVALID_ASSERT, |
| 698 ERROR_UNDEFINED_UNARY_EXPRESSION, | 703 ERROR_UNDEFINED_UNARY_EXPRESSION, |
| 699 ERROR_UNDEFINED_BINARY_EXPRESSION, | 704 ERROR_UNDEFINED_BINARY_EXPRESSION, |
| 700 | 705 |
| 701 VISIT_CONSTANT_GET, | 706 VISIT_CONSTANT_GET, |
| 702 VISIT_CONSTANT_INVOKE, | 707 VISIT_CONSTANT_INVOKE, |
| 703 } | 708 } |
| OLD | NEW |