| OLD | NEW |
| 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 1151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1162 with TopLevelParserTestMixin { | 1162 with TopLevelParserTestMixin { |
| 1163 @override | 1163 @override |
| 1164 @failingTest | 1164 @failingTest |
| 1165 void test_parseClassDeclaration_native() { | 1165 void test_parseClassDeclaration_native() { |
| 1166 // TODO(paulberry): TODO(paulberry,ahe): Fasta parser doesn't appear to supp
ort "native" syntax yet. | 1166 // TODO(paulberry): TODO(paulberry,ahe): Fasta parser doesn't appear to supp
ort "native" syntax yet. |
| 1167 super.test_parseClassDeclaration_native(); | 1167 super.test_parseClassDeclaration_native(); |
| 1168 } | 1168 } |
| 1169 | 1169 |
| 1170 @override | 1170 @override |
| 1171 @failingTest | 1171 @failingTest |
| 1172 void test_parseClassDeclaration_typeAlias_withB() { | |
| 1173 // TODO(paulberry,ahe): capture `with` token. | |
| 1174 super.test_parseClassDeclaration_typeAlias_withB(); | |
| 1175 } | |
| 1176 | |
| 1177 @override | |
| 1178 @failingTest | |
| 1179 void test_parseCompilationUnit_builtIn_asFunctionName() { | 1172 void test_parseCompilationUnit_builtIn_asFunctionName() { |
| 1180 // TODO(paulberry,ahe): Fasta's parser is confused when one of the built-in | 1173 // TODO(paulberry,ahe): Fasta's parser is confused when one of the built-in |
| 1181 // identifiers `export`, `import`, `library`, `part`, or `typedef` appears | 1174 // identifiers `export`, `import`, `library`, `part`, or `typedef` appears |
| 1182 // as the name of a top level function with an implicit return type. | 1175 // as the name of a top level function with an implicit return type. |
| 1183 super.test_parseCompilationUnit_builtIn_asFunctionName(); | 1176 super.test_parseCompilationUnit_builtIn_asFunctionName(); |
| 1184 } | 1177 } |
| 1185 | 1178 |
| 1186 @override | 1179 @override |
| 1187 @failingTest | 1180 @failingTest |
| 1188 void test_parseCompilationUnit_exportAsPrefix() { | 1181 void test_parseCompilationUnit_exportAsPrefix() { |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1276 } | 1269 } |
| 1277 | 1270 |
| 1278 @override | 1271 @override |
| 1279 @failingTest | 1272 @failingTest |
| 1280 void test_parsePartOfDirective_uri() { | 1273 void test_parsePartOfDirective_uri() { |
| 1281 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by | 1274 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by |
| 1282 // Fasta. | 1275 // Fasta. |
| 1283 super.test_parsePartOfDirective_uri(); | 1276 super.test_parsePartOfDirective_uri(); |
| 1284 } | 1277 } |
| 1285 } | 1278 } |
| OLD | NEW |