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

Unified Diff: tests/compiler/dart2js/semantic_visitor_test_send_data.dart

Issue 1160313006: Revert "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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/compiler/dart2js/semantic_visitor_test.dart ('k') | tests/compiler/dart2js/simple_inferrer_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/semantic_visitor_test_send_data.dart
diff --git a/tests/compiler/dart2js/semantic_visitor_test_send_data.dart b/tests/compiler/dart2js/semantic_visitor_test_send_data.dart
index c392d1030f202e0ab20ac63d3775f0848ffb23c8..e99f58b3257cb49d27e8e0bb8c9a83098ab87bce 100644
--- a/tests/compiler/dart2js/semantic_visitor_test_send_data.dart
+++ b/tests/compiler/dart2js/semantic_visitor_test_send_data.dart
@@ -350,9 +350,8 @@ const Map<String, List<Test>> SEND_TESTS = const {
m() => o;
}
''',
- const Visit(VisitKind.VISIT_STATIC_SETTER_GET,
- element: 'setter(C#o)')),
-
+ const Visit(VisitKind.VISIT_UNRESOLVED_GET,
+ name: 'o')),
const Test.clazz(
'''
class C {
@@ -463,8 +462,8 @@ const Map<String, List<Test>> SEND_TESTS = const {
m() { o(null, 42); }
}
''',
- const Visit(VisitKind.VISIT_STATIC_SETTER_INVOKE,
- element: 'setter(C#o)',
+ const Visit(VisitKind.VISIT_UNRESOLVED_INVOKE,
+ name: 'o',
arguments: '(null,42)')),
const Test.clazz(
'''
@@ -721,8 +720,8 @@ const Map<String, List<Test>> SEND_TESTS = const {
set o(_) {}
m() => o;
''',
- const Visit(VisitKind.VISIT_TOP_LEVEL_SETTER_GET,
- element: 'setter(o)')),
+ const Visit(VisitKind.VISIT_UNRESOLVED_GET,
+ name: 'o')),
const Test.prefix(
'''
set o(_) {}
@@ -787,8 +786,8 @@ const Map<String, List<Test>> SEND_TESTS = const {
set o(_) {}
m() => o(null, 42);
''',
- const Visit(VisitKind.VISIT_TOP_LEVEL_SETTER_INVOKE,
- element: 'setter(o)',
+ const Visit(VisitKind.VISIT_UNRESOLVED_INVOKE,
+ name: 'o',
arguments: '(null,42)')),
const Test.prefix(
'''
« no previous file with comments | « tests/compiler/dart2js/semantic_visitor_test.dart ('k') | tests/compiler/dart2js/simple_inferrer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698