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

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

Issue 2732213003: Fix for parsing generic function types with Fasta. (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
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 1342 matching lines...) Expand 10 before | Expand all | Expand 10 after
1353 super.test_parsePartOfDirective_name(); 1353 super.test_parsePartOfDirective_name();
1354 } 1354 }
1355 1355
1356 @override 1356 @override
1357 @failingTest 1357 @failingTest
1358 void test_parsePartOfDirective_uri() { 1358 void test_parsePartOfDirective_uri() {
1359 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by 1359 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by
1360 // Fasta. 1360 // Fasta.
1361 super.test_parsePartOfDirective_uri(); 1361 super.test_parsePartOfDirective_uri();
1362 } 1362 }
1363
1364 @override
1365 @failingTest
1366 void test_parseTypeAlias_genericFunction_noParameters() {
1367 super.test_parseTypeAlias_genericFunction_noParameters();
1368 }
1369
1370 @override
1371 @failingTest
1372 void test_parseTypeAlias_genericFunction_noReturnType() {
1373 super.test_parseTypeAlias_genericFunction_noReturnType();
1374 }
1375
1376 @override
1377 @failingTest
1378 void test_parseTypeAlias_genericFunction_parameterizedReturnType() {
1379 super.test_parseTypeAlias_genericFunction_parameterizedReturnType();
1380 }
1381
1382 @override
1383 @failingTest
1384 void test_parseTypeAlias_genericFunction_parameters() {
1385 super.test_parseTypeAlias_genericFunction_parameters();
1386 }
1387
1388 @override
1389 @failingTest
1390 void test_parseTypeAlias_genericFunction_typeParameters() {
1391 super.test_parseTypeAlias_genericFunction_typeParameters();
1392 }
1393
1394 @override
1395 @failingTest
1396 void test_parseTypeAlias_genericFunction_typeParameters_noParameters() {
1397 super.test_parseTypeAlias_genericFunction_typeParameters_noParameters();
1398 }
1399
1400 @override
1401 @failingTest
1402 void test_parseTypeAlias_genericFunction_typeParameters_noReturnType() {
1403 super.test_parseTypeAlias_genericFunction_typeParameters_noReturnType();
1404 }
1405
1406 @override
1407 @failingTest
1408 void
1409 test_parseTypeAlias_genericFunction_typeParameters_parameterizedReturnType () {
1410 super
1411 .test_parseTypeAlias_genericFunction_typeParameters_parameterizedReturnT ype();
1412 }
1413
1414 @override
1415 @failingTest
1416 void test_parseTypeAlias_genericFunction_typeParameters_parameters() {
1417 super.test_parseTypeAlias_genericFunction_typeParameters_parameters();
1418 }
1419
1420 @override
1421 @failingTest
1422 void test_parseTypeAlias_genericFunction_typeParameters_typeParameters() {
1423 super.test_parseTypeAlias_genericFunction_typeParameters_typeParameters();
1424 }
1425
1426 @override
1427 @failingTest
1428 void test_parseTypeAlias_genericFunction_typeParameters_voidReturnType() {
1429 super.test_parseTypeAlias_genericFunction_typeParameters_voidReturnType();
1430 }
1431
1432 @override
1433 @failingTest
1434 void test_parseTypeAlias_genericFunction_voidReturnType() {
1435 super.test_parseTypeAlias_genericFunction_voidReturnType();
1436 }
1437 } 1363 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/dart/ast/ast_factory.dart ('k') | pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698