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

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

Issue 2749623003: Revert "Add support for metadata on type variables to Fasta parser." (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | pkg/analyzer/test/generated/parser_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1113 1113
1114 @override 1114 @override
1115 @failingTest 1115 @failingTest
1116 void test_parseCompilationUnit_typedefAsPrefix() { 1116 void test_parseCompilationUnit_typedefAsPrefix() {
1117 // TODO(paulberry): As of commit 5de9108 this syntax is invalid. 1117 // TODO(paulberry): As of commit 5de9108 this syntax is invalid.
1118 super.test_parseCompilationUnit_typedefAsPrefix(); 1118 super.test_parseCompilationUnit_typedefAsPrefix();
1119 } 1119 }
1120 1120
1121 @override 1121 @override
1122 @failingTest 1122 @failingTest
1123 void
1124 test_parseCompilationUnitMember_function_generic_noReturnType_annotated() {
1125 // TODO(paulberry,ahe): Fasta doesn't appear to support annotated type
1126 // parameters.
1127 super
1128 .test_parseCompilationUnitMember_function_generic_noReturnType_annotated ();
1129 }
1130
1131 @override
1132 @failingTest
1123 void test_parseDirectives_mixed() { 1133 void test_parseDirectives_mixed() {
1124 // TODO(paulberry,ahe): This test verifies the analyzer parser's ability to 1134 // TODO(paulberry,ahe): This test verifies the analyzer parser's ability to
1125 // stop parsing as soon as the first non-directive is encountered; this is 1135 // stop parsing as soon as the first non-directive is encountered; this is
1126 // useful for quickly traversing an import graph. Consider adding a similar 1136 // useful for quickly traversing an import graph. Consider adding a similar
1127 // ability to Fasta's parser. 1137 // ability to Fasta's parser.
1128 super.test_parseDirectives_mixed(); 1138 super.test_parseDirectives_mixed();
1129 } 1139 }
1130 1140
1131 @override 1141 @override
1132 @failingTest 1142 @failingTest
(...skipping 14 matching lines...) Expand all
1147 } 1157 }
1148 1158
1149 @override 1159 @override
1150 @failingTest 1160 @failingTest
1151 void test_parsePartOfDirective_uri() { 1161 void test_parsePartOfDirective_uri() {
1152 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by 1162 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by
1153 // Fasta. 1163 // Fasta.
1154 super.test_parsePartOfDirective_uri(); 1164 super.test_parsePartOfDirective_uri();
1155 } 1165 }
1156 } 1166 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/test/generated/parser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698