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

Side by Side Diff: pkg/analyzer/test/generated/parser_fasta_test.dart

Issue 2751913002: Parse constructor field initializers with Fasta. (Closed)
Patch Set: Fix for DietListener test failure. Created 3 years, 9 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) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 import 'package:analyzer/dart/ast/ast.dart'; 5 import 'package:analyzer/dart/ast/ast.dart';
6 import 'package:analyzer/dart/ast/token.dart' as analyzer; 6 import 'package:analyzer/dart/ast/token.dart' as analyzer;
7 import 'package:analyzer/dart/element/element.dart'; 7 import 'package:analyzer/dart/element/element.dart';
8 import 'package:analyzer/error/error.dart'; 8 import 'package:analyzer/error/error.dart';
9 import 'package:analyzer/src/generated/parser.dart' as analyzer; 9 import 'package:analyzer/src/generated/parser.dart' as analyzer;
10 import 'package:analyzer/src/generated/utilities_dart.dart'; 10 import 'package:analyzer/src/generated/utilities_dart.dart';
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 @override 89 @override
90 @failingTest 90 @failingTest
91 void test_parseConstructor_assert() { 91 void test_parseConstructor_assert() {
92 // TODO(paulberry): Fasta doesn't support asserts in initializers 92 // TODO(paulberry): Fasta doesn't support asserts in initializers
93 super.test_parseConstructor_assert(); 93 super.test_parseConstructor_assert();
94 } 94 }
95 95
96 @override 96 @override
97 @failingTest 97 @failingTest
98 void test_parseConstructor_with_pseudo_function_literal() {
99 // TODO(paulberry): Expected: an object with length of <1>
100 super.test_parseConstructor_with_pseudo_function_literal();
101 }
102
103 @override
104 @failingTest
105 void test_parseConstructorFieldInitializer_qualified() { 98 void test_parseConstructorFieldInitializer_qualified() {
106 // TODO(paulberry): Unhandled event: ThisExpression 99 // TODO(paulberry): Unhandled event: ThisExpression
107 super.test_parseConstructorFieldInitializer_qualified(); 100 super.test_parseConstructorFieldInitializer_qualified();
108 } 101 }
109 102
110 @override 103 @override
111 @failingTest 104 @failingTest
112 void test_parseConstructorFieldInitializer_unqualified() { 105 void test_parseConstructorFieldInitializer_unqualified() {
113 // TODO(paulberry): Expected: an object with length of <1> 106 // TODO(paulberry): Expected: an object with length of <1>
114 super.test_parseConstructorFieldInitializer_unqualified(); 107 super.test_parseConstructorFieldInitializer_unqualified();
(...skipping 1254 matching lines...) Expand 10 before | Expand all | Expand 10 after
1369 } 1362 }
1370 1363
1371 @override 1364 @override
1372 @failingTest 1365 @failingTest
1373 void test_parsePartOfDirective_uri() { 1366 void test_parsePartOfDirective_uri() {
1374 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by 1367 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by
1375 // Fasta. 1368 // Fasta.
1376 super.test_parsePartOfDirective_uri(); 1369 super.test_parsePartOfDirective_uri();
1377 } 1370 }
1378 } 1371 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/test/generated/parser_test.dart » ('j') | pkg/front_end/lib/src/fasta/source/diet_listener.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698