Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(468)

Side by Side Diff: tests/compiler/dart2js/semantic_visitor_test.dart

Issue 1149403009: Refactoring resolution of local access and unqualified access of statics (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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,
192 // The constant expressions of assignment to constant type literals cannot be 187 // The constant expressions of assignment to constant type literals cannot be
193 // handled the compile constant evaluator. 188 // handled the compile constant evaluator.
194 VisitKind.VISIT_CLASS_TYPE_LITERAL_SET, 189 VisitKind.VISIT_CLASS_TYPE_LITERAL_SET,
195 VisitKind.VISIT_TYPEDEF_TYPE_LITERAL_SET, 190 VisitKind.VISIT_TYPEDEF_TYPE_LITERAL_SET,
196 VisitKind.VISIT_DYNAMIC_TYPE_LITERAL_SET, 191 VisitKind.VISIT_DYNAMIC_TYPE_LITERAL_SET,
197 // Invalid assignments is currently report through an erroneous element. 192 // Invalid assignments is currently report through an erroneous element.
198 VisitKind.VISIT_TYPE_VARIABLE_TYPE_LITERAL_SET, 193 VisitKind.VISIT_TYPE_VARIABLE_TYPE_LITERAL_SET,
199 VisitKind.VISIT_FINAL_PARAMETER_SET, 194 VisitKind.VISIT_FINAL_PARAMETER_SET,
200 VisitKind.VISIT_FINAL_LOCAL_VARIABLE_SET, 195 VisitKind.VISIT_FINAL_LOCAL_VARIABLE_SET,
201 VisitKind.VISIT_LOCAL_FUNCTION_SET, 196 VisitKind.VISIT_LOCAL_FUNCTION_SET,
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
699 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_PREFIX, 694 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_PREFIX,
700 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_POSTFIX, 695 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_POSTFIX,
701 696
702 ERROR_INVALID_ASSERT, 697 ERROR_INVALID_ASSERT,
703 ERROR_UNDEFINED_UNARY_EXPRESSION, 698 ERROR_UNDEFINED_UNARY_EXPRESSION,
704 ERROR_UNDEFINED_BINARY_EXPRESSION, 699 ERROR_UNDEFINED_BINARY_EXPRESSION,
705 700
706 VISIT_CONSTANT_GET, 701 VISIT_CONSTANT_GET,
707 VISIT_CONSTANT_INVOKE, 702 VISIT_CONSTANT_INVOKE,
708 } 703 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698