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

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

Issue 2244333003: Remove AST-hack for multi-field declarations. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 4 years, 4 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
Index: tests/compiler/dart2js/semantic_visitor_test_decl_data.dart
diff --git a/tests/compiler/dart2js/semantic_visitor_test_decl_data.dart b/tests/compiler/dart2js/semantic_visitor_test_decl_data.dart
index 1019d8cfdbc3ec22e9c2d6fef73eaf96418d6b85..3004a61628654dc6c339adac28a8d92881c194f7 100644
--- a/tests/compiler/dart2js/semantic_visitor_test_decl_data.dart
+++ b/tests/compiler/dart2js/semantic_visitor_test_decl_data.dart
@@ -661,6 +661,8 @@ const Map<String, List<Test>> DECL_TESTS = const {
const [
const Visit(VisitKind.VISIT_INSTANCE_FIELD_DECL,
element: 'field(C#m)'),
+ const Visit(VisitKind.VISIT_INSTANCE_FIELD_DECL,
+ element: 'field(C#n)'),
]),
const Test.clazz(
'''
@@ -787,7 +789,9 @@ const Map<String, List<Test>> DECL_TESTS = const {
''',
const [
const Visit(VisitKind.VISIT_STATIC_FIELD_DECL,
- element: 'field(C#m)'),
+ element: 'field(C#m)'),
+ const Visit(VisitKind.VISIT_STATIC_FIELD_DECL,
+ element: 'field(C#n)'),
]),
const Test.clazz(
'''
@@ -797,7 +801,13 @@ const Map<String, List<Test>> DECL_TESTS = const {
''',
const [
const Visit(VisitKind.VISIT_STATIC_FIELD_DECL,
- element: 'field(C#m)'),
+ element: 'field(C#k)'),
+ const Visit(VisitKind.VISIT_STATIC_FIELD_DECL,
+ element: 'field(C#l)'),
+ const Visit(VisitKind.VISIT_STATIC_FIELD_DECL,
+ element: 'field(C#m)'),
+ const Visit(VisitKind.VISIT_STATIC_FIELD_DECL,
+ element: 'field(C#n)'),
]),
const Test.clazz(
'''
@@ -820,6 +830,9 @@ const Map<String, List<Test>> DECL_TESTS = const {
const Visit(VisitKind.VISIT_STATIC_FIELD_DECL,
element: 'field(C#m)',
rhs: 42),
+ const Visit(VisitKind.VISIT_STATIC_FIELD_DECL,
+ element: 'field(C#n)',
+ rhs: true),
]),
const Test.clazz(
'''
@@ -846,7 +859,9 @@ const Map<String, List<Test>> DECL_TESTS = const {
''',
const [
const Visit(VisitKind.VISIT_TOP_LEVEL_FIELD_DECL,
- element: 'field(m)'),
+ element: 'field(m)'),
+ const Visit(VisitKind.VISIT_TOP_LEVEL_FIELD_DECL,
+ element: 'field(n)'),
]),
const Test(
'''
« no previous file with comments | « pkg/compiler/lib/src/resolution/resolution.dart ('k') | tests/compiler/dart2js/serialization/test_data.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698