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

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

Issue 3010043002: Characterize more test failures (Closed)
Patch Set: Created 3 years, 3 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/ast/token.dart' show TokenType; 7 import 'package:analyzer/dart/ast/token.dart' show TokenType;
8 import 'package:analyzer/error/error.dart'; 8 import 'package:analyzer/error/error.dart';
9 import 'package:analyzer/error/listener.dart' show ErrorReporter; 9 import 'package:analyzer/error/listener.dart' show ErrorReporter;
10 import 'package:analyzer/src/dart/scanner/scanner.dart'; 10 import 'package:analyzer/src/dart/scanner/scanner.dart';
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 @failingTest 398 @failingTest
399 void test_directiveAfterDeclaration_classBeforeDirective() { 399 void test_directiveAfterDeclaration_classBeforeDirective() {
400 // TODO(brianwilkerson) Wrong errors: 400 // TODO(brianwilkerson) Wrong errors:
401 // Expected 1 errors of type ParserErrorCode.DIRECTIVE_AFTER_DECLARATION, fo und 0 401 // Expected 1 errors of type ParserErrorCode.DIRECTIVE_AFTER_DECLARATION, fo und 0
402 super.test_directiveAfterDeclaration_classBeforeDirective(); 402 super.test_directiveAfterDeclaration_classBeforeDirective();
403 } 403 }
404 404
405 @override 405 @override
406 @failingTest 406 @failingTest
407 void test_directiveAfterDeclaration_classBetweenDirectives() { 407 void test_directiveAfterDeclaration_classBetweenDirectives() {
408 // TODO(brianwilkerson) Wrong errors:
409 // Expected 1 errors of type ParserErrorCode.DIRECTIVE_AFTER_DECLARATION, fo und 0
408 super.test_directiveAfterDeclaration_classBetweenDirectives(); 410 super.test_directiveAfterDeclaration_classBetweenDirectives();
409 } 411 }
410 412
411 @override 413 @override
412 @failingTest 414 @failingTest
413 void test_duplicatedModifier_const() { 415 void test_duplicatedModifier_const() {
416 // TODO(brianwilkerson) Does not recover.
417 // UnimplementedError: Failed to map ConstFieldWithoutInitializer at 12
418 // package:analyzer/src/fasta/ast_builder.dart 1968:7 AstB uilder.addCompileTimeError
419 // package:front_end/src/fasta/source/stack_listener.dart 271:5 Stac kListener.handleRecoverableError
420 // test/generated/parser_fasta_listener.dart 1420:14 Forw ardingTestListener.handleRecoverableError
421 // package:front_end/src/fasta/parser/parser.dart 4085:16 Pars er.reportRecoverableError
422 // package:front_end/src/fasta/parser/parser.dart 1904:11 Pars er.parseFieldInitializerOpt
423 // package:front_end/src/fasta/parser/parser.dart 1675:13 Pars er.parseFields
424 // package:front_end/src/fasta/parser/parser.dart 2322:11 Pars er.parseMember
425 // test/generated/parser_fasta_test.dart 2825:39 Pars erProxy._run
414 super.test_duplicatedModifier_const(); 426 super.test_duplicatedModifier_const();
415 } 427 }
416 428
417 @override 429 @override
418 @failingTest 430 @failingTest
419 void test_duplicatedModifier_external() { 431 void test_duplicatedModifier_external() {
432 // TODO(brianwilkerson) Wrong errors:
433 // Expected 1 errors of type ParserErrorCode.DUPLICATED_MODIFIER, found 0;
434 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (9)
420 super.test_duplicatedModifier_external(); 435 super.test_duplicatedModifier_external();
421 } 436 }
422 437
423 @override 438 @override
424 @failingTest 439 @failingTest
425 void test_duplicatedModifier_factory() { 440 void test_duplicatedModifier_factory() {
441 // TODO(brianwilkerson) Does not recover.
442 // UnimplementedError: Failed to map Instance of 'Message' at C
443 // package:analyzer/src/fasta/ast_builder.dart 1091:7 AstB uilder.handleUnrecoverableError
444 // test/generated/parser_fasta_listener.dart 1498:21 Forw ardingTestListener.handleUnrecoverableError
445 // package:front_end/src/fasta/parser/parser.dart 4076:23 Pars er.reportUnrecoverableError
446 // package:front_end/src/fasta/parser/parser.dart 947:14 Pars er.expect
447 // package:front_end/src/fasta/parser/parser.dart 610:5 Pars er.parseFormalParameters
448 // package:front_end/src/fasta/parser/parser.dart 2454:13 Pars er.parseFactoryMethod
449 // package:front_end/src/fasta/parser/parser.dart 2240:15 Pars er.parseMember
450 // test/generated/parser_fasta_test.dart 2825:39 Pars erProxy._run
426 super.test_duplicatedModifier_factory(); 451 super.test_duplicatedModifier_factory();
427 } 452 }
428 453
429 @override 454 @override
430 @failingTest 455 @failingTest
431 void test_duplicatedModifier_final() { 456 void test_duplicatedModifier_final() {
457 // TODO(brianwilkerson) Wrong errors:
458 // Expected 1 errors of type ParserErrorCode.DUPLICATED_MODIFIER, found 0;
459 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (6)
432 super.test_duplicatedModifier_final(); 460 super.test_duplicatedModifier_final();
433 } 461 }
434 462
435 @override 463 @override
436 @failingTest 464 @failingTest
437 void test_duplicatedModifier_static() { 465 void test_duplicatedModifier_static() {
466 // TODO(brianwilkerson) Wrong errors:
467 // Expected 1 errors of type ParserErrorCode.DUPLICATED_MODIFIER, found 0;
468 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (7)
438 super.test_duplicatedModifier_static(); 469 super.test_duplicatedModifier_static();
439 } 470 }
440 471
441 @override 472 @override
442 @failingTest 473 @failingTest
443 void test_duplicatedModifier_var() { 474 void test_duplicatedModifier_var() {
475 // TODO(brianwilkerson) Wrong errors:
476 // Expected 1 errors of type ParserErrorCode.DUPLICATED_MODIFIER, found 0;
477 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (4)
444 super.test_duplicatedModifier_var(); 478 super.test_duplicatedModifier_var();
445 } 479 }
446 480
447 @override 481 @override
448 @failingTest 482 @failingTest
449 void test_duplicateLabelInSwitchStatement() { 483 void test_duplicateLabelInSwitchStatement() {
484 // TODO(brianwilkerson) Wrong errors:
485 // Expected 1 errors of type ParserErrorCode.DUPLICATE_LABEL_IN_SWITCH_STATE MENT, found 0
450 super.test_duplicateLabelInSwitchStatement(); 486 super.test_duplicateLabelInSwitchStatement();
451 } 487 }
452 488
453 @override 489 @override
454 @failingTest 490 @failingTest
455 void test_emptyEnumBody() { 491 void test_emptyEnumBody() {
492 // TODO(brianwilkerson) Wrong errors:
493 // Expected 1 errors of type ParserErrorCode.EMPTY_ENUM_BODY, found 0
456 super.test_emptyEnumBody(); 494 super.test_emptyEnumBody();
457 } 495 }
458 496
459 @override 497 @override
460 @failingTest 498 @failingTest
461 void test_enumInClass() { 499 void test_enumInClass() {
500 // TODO(brianwilkerson) Wrong errors:
501 // Expected 1 errors of type ParserErrorCode.ENUM_IN_CLASS, found 0
462 super.test_enumInClass(); 502 super.test_enumInClass();
463 } 503 }
464 504
465 @override 505 @override
466 @failingTest 506 @failingTest
467 void test_equalityCannotBeEqualityOperand_eq_eq() { 507 void test_equalityCannotBeEqualityOperand_eq_eq() {
508 // TODO(brianwilkerson) Does not recover (fails to parse all tokens).
468 super.test_equalityCannotBeEqualityOperand_eq_eq(); 509 super.test_equalityCannotBeEqualityOperand_eq_eq();
469 } 510 }
470 511
471 @override 512 @override
472 @failingTest 513 @failingTest
473 void test_equalityCannotBeEqualityOperand_eq_neq() { 514 void test_equalityCannotBeEqualityOperand_eq_neq() {
515 // TODO(brianwilkerson) Does not recover (fails to parse all tokens).
474 super.test_equalityCannotBeEqualityOperand_eq_neq(); 516 super.test_equalityCannotBeEqualityOperand_eq_neq();
475 } 517 }
476 518
477 @override 519 @override
478 @failingTest 520 @failingTest
479 void test_equalityCannotBeEqualityOperand_neq_eq() { 521 void test_equalityCannotBeEqualityOperand_neq_eq() {
522 // TODO(brianwilkerson) Does not recover (fails to parse all tokens).
480 super.test_equalityCannotBeEqualityOperand_neq_eq(); 523 super.test_equalityCannotBeEqualityOperand_neq_eq();
481 } 524 }
482 525
483 @override 526 @override
484 @failingTest 527 @failingTest
485 void test_expectedCaseOrDefault() { 528 void test_expectedCaseOrDefault() {
529 // TODO(brianwilkerson) Does not recover.
530 // Bad state: No element
531 // dart:core List .last
532 // package:analyzer/src/fasta/ast_builder.dart 951:13 AstB uilder.endSwitchCase
533 // test/generated/parser_fasta_listener.dart 1010:14 Forw ardingTestListener.endSwitchCase
534 // package:front_end/src/fasta/parser/parser.dart 3991:14 Pars er.parseSwitchCase
535 // package:front_end/src/fasta/parser/parser.dart 3914:15 Pars er.parseSwitchBlock
536 // package:front_end/src/fasta/parser/parser.dart 3900:13 Pars er.parseSwitchStatement
537 // package:front_end/src/fasta/parser/parser.dart 2760:14 Pars er.parseStatementX
538 // package:front_end/src/fasta/parser/parser.dart 2722:20 Pars er.parseStatement
539 // test/generated/parser_fasta_test.dart 2903:39 Pars erProxy._run
486 super.test_expectedCaseOrDefault(); 540 super.test_expectedCaseOrDefault();
487 } 541 }
488 542
489 @override 543 @override
490 @failingTest 544 @failingTest
491 void test_expectedClassMember_inClass_afterType() { 545 void test_expectedClassMember_inClass_afterType() {
546 // TODO(brianwilkerson) Does not recover.
547 // Expected: an object with length of <1>
548 // Actual: <Instance of 'Stack'>
549 // Which: has length of <2>
550 //
551 // package:test expe ct
552 // test/generated/parser_fasta_test.dart 2870:7 Pars erProxy._run
553 // test/generated/parser_fasta_test.dart 2750:18 Pars erProxy.parseClassMember
492 super.test_expectedClassMember_inClass_afterType(); 554 super.test_expectedClassMember_inClass_afterType();
493 } 555 }
494 556
495 @override 557 @override
496 @failingTest 558 @failingTest
497 void test_expectedClassMember_inClass_beforeType() { 559 void test_expectedClassMember_inClass_beforeType() {
560 // TODO(brianwilkerson) Does not recover.
561 // Expected: an object with length of <1>
562 // Actual: <Instance of 'Stack'>
563 // Which: has length of <2>
564 //
565 // package:test expe ct
566 // test/generated/parser_fasta_test.dart 2870:7 Pars erProxy._run
567 // test/generated/parser_fasta_test.dart 2750:18 Pars erProxy.parseClassMember
498 super.test_expectedClassMember_inClass_beforeType(); 568 super.test_expectedClassMember_inClass_beforeType();
499 } 569 }
500 570
501 @override 571 @override
502 @failingTest 572 @failingTest
503 void test_expectedExecutable_inClass_afterVoid() { 573 void test_expectedExecutable_inClass_afterVoid() {
574 // TODO(brianwilkerson) Does not recover.
575 // Expected: an object with length of <1>
576 // Actual: <Instance of 'Stack'>
577 // Which: has length of <2>
578 //
579 // package:test expe ct
580 // test/generated/parser_fasta_test.dart 2870:7 Pars erProxy._run
581 // test/generated/parser_fasta_test.dart 2750:18 Pars erProxy.parseClassMember
504 super.test_expectedExecutable_inClass_afterVoid(); 582 super.test_expectedExecutable_inClass_afterVoid();
505 } 583 }
506 584
507 @override 585 @override
508 @failingTest 586 @failingTest
509 void test_expectedExecutable_topLevel_afterType() { 587 void test_expectedExecutable_topLevel_afterType() {
588 // TODO(brianwilkerson) Does not recover.
589 // Expected CompilationUnit, but found [CompilationUnit, TopLevelMember]
590 // package:test fail
591 // test/generated/parser_fasta_listener.dart 50:7 Forw ardingTestListener.expectIn
592 // test/generated/parser_fasta_listener.dart 1030:5 Forw ardingTestListener.endTopLevelDeclaration
593 // package:front_end/src/fasta/parser/parser.dart 264:14 Pars er.parseTopLevelDeclaration
594 // test/generated/parser_fasta_test.dart 2815:22 Pars erProxy.parseTopLevelDeclaration
510 super.test_expectedExecutable_topLevel_afterType(); 595 super.test_expectedExecutable_topLevel_afterType();
511 } 596 }
512 597
513 @override 598 @override
514 @failingTest 599 @failingTest
515 void test_expectedExecutable_topLevel_afterVoid() { 600 void test_expectedExecutable_topLevel_afterVoid() {
601 // TODO(brianwilkerson) Does not recover.
602 // Expected CompilationUnit, but found [CompilationUnit, TopLevelMember]
603 // package:test fail
604 // test/generated/parser_fasta_listener.dart 50:7 Forw ardingTestListener.expectIn
605 // test/generated/parser_fasta_listener.dart 1030:5 Forw ardingTestListener.endTopLevelDeclaration
606 // package:front_end/src/fasta/parser/parser.dart 264:14 Pars er.parseTopLevelDeclaration
607 // test/generated/parser_fasta_test.dart 2815:22 Pars erProxy.parseTopLevelDeclaration
516 super.test_expectedExecutable_topLevel_afterVoid(); 608 super.test_expectedExecutable_topLevel_afterVoid();
517 } 609 }
518 610
519 @override 611 @override
520 @failingTest 612 @failingTest
521 void test_expectedExecutable_topLevel_beforeType() { 613 void test_expectedExecutable_topLevel_beforeType() {
614 // TODO(brianwilkerson) Does not recover.
615 // Expected: true
616 // Actual: <false>
617 //
618 // package:test expe ct
619 // test/generated/parser_fasta_test.dart 2852:5 Pars erProxy.parseTopLevelDeclaration
522 super.test_expectedExecutable_topLevel_beforeType(); 620 super.test_expectedExecutable_topLevel_beforeType();
523 } 621 }
524 622
525 @override 623 @override
526 @failingTest 624 @failingTest
527 void test_expectedExecutable_topLevel_eof() { 625 void test_expectedExecutable_topLevel_eof() {
626 // TODO(brianwilkerson) Does not recover.
627 // Expected CompilationUnit, but found [CompilationUnit, TopLevelMember]
628 // package:test fail
629 // test/generated/parser_fasta_listener.dart 50:7 Forw ardingTestListener.expectIn
630 // test/generated/parser_fasta_listener.dart 1030:5 Forw ardingTestListener.endTopLevelDeclaration
631 // package:front_end/src/fasta/parser/parser.dart 264:14 Pars er.parseTopLevelDeclaration
632 // test/generated/parser_fasta_test.dart 2851:22 Pars erProxy.parseTopLevelDeclaration
528 super.test_expectedExecutable_topLevel_eof(); 633 super.test_expectedExecutable_topLevel_eof();
529 } 634 }
530 635
531 @override 636 @override
532 @failingTest 637 @failingTest
533 void test_expectedInterpolationIdentifier() { 638 void test_expectedInterpolationIdentifier() {
639 // TODO(brianwilkerson) Does not recover.
640 // RangeError: Value not in range: -1
641 // dart:core _Str ingBase.substring
642 // package:front_end/src/fasta/quote.dart 130:12 unes capeLastStringPart
643 // package:analyzer/src/fasta/ast_builder.dart 187:17 AstB uilder.endLiteralString
644 // test/generated/parser_fasta_listener.dart 896:14 Forw ardingTestListener.endLiteralString
645 // package:front_end/src/fasta/parser/parser.dart 3497:14 Pars er.parseSingleLiteralString
646 // package:front_end/src/fasta/parser/parser.dart 3434:13 Pars er.parseLiteralString
647 // package:front_end/src/fasta/parser/parser.dart 3133:14 Pars er.parsePrimary
648 // package:front_end/src/fasta/parser/parser.dart 3097:14 Pars er.parseUnaryExpression
649 // package:front_end/src/fasta/parser/parser.dart 2968:13 Pars er.parsePrecedenceExpression
650 // package:front_end/src/fasta/parser/parser.dart 2942:11 Pars er.parseExpression
651 // test/generated/parser_fasta_test.dart 2929:39 Pars erProxy._run
534 super.test_expectedInterpolationIdentifier(); 652 super.test_expectedInterpolationIdentifier();
535 } 653 }
536 654
537 @override 655 @override
538 @failingTest 656 @failingTest
539 void test_expectedInterpolationIdentifier_emptyString() { 657 void test_expectedInterpolationIdentifier_emptyString() {
658 // TODO(brianwilkerson) Does not recover.
659 // RangeError: Value not in range: -1
660 // dart:core _Str ingBase.substring
661 // package:front_end/src/fasta/quote.dart 130:12 unes capeLastStringPart
662 // package:analyzer/src/fasta/ast_builder.dart 187:17 AstB uilder.endLiteralString
663 // test/generated/parser_fasta_listener.dart 896:14 Forw ardingTestListener.endLiteralString
664 // package:front_end/src/fasta/parser/parser.dart 3497:14 Pars er.parseSingleLiteralString
665 // package:front_end/src/fasta/parser/parser.dart 3434:13 Pars er.parseLiteralString
666 // package:front_end/src/fasta/parser/parser.dart 3133:14 Pars er.parsePrimary
667 // package:front_end/src/fasta/parser/parser.dart 3097:14 Pars er.parseUnaryExpression
668 // package:front_end/src/fasta/parser/parser.dart 2968:13 Pars er.parsePrecedenceExpression
669 // package:front_end/src/fasta/parser/parser.dart 2942:11 Pars er.parseExpression
670 // test/generated/parser_fasta_test.dart 2929:39 Pars erProxy._run
540 super.test_expectedInterpolationIdentifier_emptyString(); 671 super.test_expectedInterpolationIdentifier_emptyString();
541 } 672 }
542 673
543 @override 674 @override
544 @failingTest 675 @failingTest
545 void test_expectedListOrMapLiteral() { 676 void test_expectedListOrMapLiteral() {
677 // TODO(brianwilkerson) Does not recover.
678 // type 'IntegerLiteralImpl' is not a subtype of type 'TypedLiteral' in ty pe cast where
679 // IntegerLiteralImpl is from package:analyzer/src/dart/ast/ast.dart
680 // TypedLiteral is from package:analyzer/dart/ast/ast.dart
681 //
682 // dart:core Obje ct._as
683 // test/generated/parser_fasta_test.dart 2480:48 Fast aParserTestCase.parseListOrMapLiteral
546 super.test_expectedListOrMapLiteral(); 684 super.test_expectedListOrMapLiteral();
547 } 685 }
548 686
549 @override 687 @override
550 @failingTest 688 @failingTest
551 void test_expectedStringLiteral() { 689 void test_expectedStringLiteral() {
690 // TODO(brianwilkerson) Does not recover.
691 // type 'IntegerLiteralImpl' is not a subtype of type 'StringLiteral' of ' literal' where
692 // IntegerLiteralImpl is from package:analyzer/src/dart/ast/ast.dart
693 // StringLiteral is from package:analyzer/dart/ast/ast.dart
694 //
695 // test/generated/parser_test.dart 2652:29 Fast aParserTestCase&ErrorParserTestMixin.test_expectedStringLiteral
552 super.test_expectedStringLiteral(); 696 super.test_expectedStringLiteral();
553 } 697 }
554 698
555 @override 699 @override
556 @failingTest 700 @failingTest
557 void test_expectedToken_commaMissingInArgumentList() { 701 void test_expectedToken_commaMissingInArgumentList() {
702 // TODO(brianwilkerson) Wrong errors:
703 // Expected 1 errors of type ParserErrorCode.EXPECTED_TOKEN, found 0
558 super.test_expectedToken_commaMissingInArgumentList(); 704 super.test_expectedToken_commaMissingInArgumentList();
559 } 705 }
560 706
561 @override 707 @override
562 @failingTest 708 @failingTest
563 void test_expectedToken_parseStatement_afterVoid() { 709 void test_expectedToken_parseStatement_afterVoid() {
710 // TODO(brianwilkerson) Wrong errors:
711 // Expected 1 errors of type ParserErrorCode.EXPECTED_TOKEN, found 0;
712 // 1 errors of type ParserErrorCode.MISSING_IDENTIFIER, found 0
564 super.test_expectedToken_parseStatement_afterVoid(); 713 super.test_expectedToken_parseStatement_afterVoid();
565 } 714 }
566 715
567 @override 716 @override
568 @failingTest 717 @failingTest
569 void test_expectedToken_semicolonMissingAfterExpression() { 718 void test_expectedToken_semicolonMissingAfterExpression() {
719 // TODO(brianwilkerson) Wrong errors:
720 // Expected 1 errors of type ParserErrorCode.EXPECTED_TOKEN, found 0
570 super.test_expectedToken_semicolonMissingAfterExpression(); 721 super.test_expectedToken_semicolonMissingAfterExpression();
571 } 722 }
572 723
573 @override 724 @override
574 @failingTest 725 @failingTest
575 void test_expectedToken_semicolonMissingAfterImport() { 726 void test_expectedToken_semicolonMissingAfterImport() {
727 // TODO(brianwilkerson) Wrong errors:
728 // Expected 1 errors of type ParserErrorCode.EXPECTED_TOKEN, found 0
576 super.test_expectedToken_semicolonMissingAfterImport(); 729 super.test_expectedToken_semicolonMissingAfterImport();
577 } 730 }
578 731
579 @override 732 @override
580 @failingTest 733 @failingTest
581 void test_expectedToken_whileMissingInDoStatement() { 734 void test_expectedToken_whileMissingInDoStatement() {
735 // TODO(brianwilkerson) Does not recover.
736 // NoSuchMethodError: Class 'SimpleToken' has no instance getter 'endGroup '.
737 // Receiver: Instance of 'SimpleToken'
738 // Tried calling: endGroup
739 // dart:core Obje ct.noSuchMethod
740 // package:front_end/src/fasta/parser/parser.dart 3212:26 Pars er.parseParenthesizedExpression
741 // package:front_end/src/fasta/parser/parser.dart 3781:13 Pars er.parseDoWhileStatement
742 // package:front_end/src/fasta/parser/parser.dart 2756:14 Pars er.parseStatementX
743 // package:front_end/src/fasta/parser/parser.dart 2722:20 Pars er.parseStatement
744 // test/generated/parser_fasta_test.dart 2973:39 Pars erProxy._run
582 super.test_expectedToken_whileMissingInDoStatement(); 745 super.test_expectedToken_whileMissingInDoStatement();
583 } 746 }
584 747
585 @override 748 @override
586 @failingTest 749 @failingTest
587 void test_expectedTypeName_as() { 750 void test_expectedTypeName_as() {
751 // TODO(brianwilkerson) Wrong errors:
752 // Expected 1 errors of type ParserErrorCode.EXPECTED_TYPE_NAME, found 0
588 super.test_expectedTypeName_as(); 753 super.test_expectedTypeName_as();
589 } 754 }
590 755
591 @override 756 @override
592 @failingTest 757 @failingTest
593 void test_expectedTypeName_as_void() { 758 void test_expectedTypeName_as_void() {
759 // TODO(brianwilkerson) Does not recover.
760 // Expected: true
761 // Actual: <false>
762 //
763 // package:test expe ct
764 // test/generated/parser_fasta_test.dart 2974:5 Pars erProxy._run
765 // test/generated/parser_fasta_test.dart 2661:34 Fast aParserTestCase._runParser
594 super.test_expectedTypeName_as_void(); 766 super.test_expectedTypeName_as_void();
595 } 767 }
596 768
597 @override 769 @override
598 @failingTest 770 @failingTest
599 void test_expectedTypeName_is() { 771 void test_expectedTypeName_is() {
772 // TODO(brianwilkerson) Wrong errors:
773 // Expected 1 errors of type ParserErrorCode.EXPECTED_TYPE_NAME, found 0
600 super.test_expectedTypeName_is(); 774 super.test_expectedTypeName_is();
601 } 775 }
602 776
603 @override 777 @override
604 @failingTest 778 @failingTest
605 void test_expectedTypeName_is_void() { 779 void test_expectedTypeName_is_void() {
780 // TODO(brianwilkerson) Does not recover.
781 // Expected: true
782 // Actual: <false>
783 //
784 // package:test expe ct
785 // test/generated/parser_fasta_test.dart 2999:5 Pars erProxy._run
606 super.test_expectedTypeName_is_void(); 786 super.test_expectedTypeName_is_void();
607 } 787 }
608 788
609 @override 789 @override
610 @failingTest 790 @failingTest
611 void test_exportDirectiveAfterPartDirective() { 791 void test_exportDirectiveAfterPartDirective() {
792 // TODO(brianwilkerson) Wrong errors:
793 // Expected 1 errors of type ParserErrorCode.EXPORT_DIRECTIVE_AFTER_PART_DIR ECTIVE, found 0
612 super.test_exportDirectiveAfterPartDirective(); 794 super.test_exportDirectiveAfterPartDirective();
613 } 795 }
614 796
615 @override 797 @override
616 @failingTest 798 @failingTest
617 void test_externalAfterConst() { 799 void test_externalAfterConst() {
800 // TODO(brianwilkerson) Wrong errors:
801 // Expected 1 errors of type ParserErrorCode.EXTERNAL_AFTER_CONST, found 0;
802 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (6)
618 super.test_externalAfterConst(); 803 super.test_externalAfterConst();
619 } 804 }
620 805
621 @override 806 @override
622 @failingTest 807 @failingTest
623 void test_externalAfterFactory() { 808 void test_externalAfterFactory() {
809 // TODO(brianwilkerson) Wrong errors:
810 // Expected 1 errors of type ParserErrorCode.EXTERNAL_AFTER_FACTORY, found 0
624 super.test_externalAfterFactory(); 811 super.test_externalAfterFactory();
625 } 812 }
626 813
627 @override 814 @override
628 @failingTest 815 @failingTest
629 void test_externalAfterStatic() { 816 void test_externalAfterStatic() {
817 // TODO(brianwilkerson) Wrong errors:
818 // Expected 1 errors of type ParserErrorCode.EXTERNAL_AFTER_STATIC, found 0;
819 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (7)
630 super.test_externalAfterStatic(); 820 super.test_externalAfterStatic();
631 } 821 }
632 822
633 @override 823 @override
634 @failingTest 824 @failingTest
635 void test_externalClass() { 825 void test_externalClass() {
826 // TODO(brianwilkerson) Wrong errors:
827 // Expected 1 errors of type ParserErrorCode.EXTERNAL_CLASS, found 0;
828 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (10)
636 super.test_externalClass(); 829 super.test_externalClass();
637 } 830 }
638 831
639 @override 832 @override
640 @failingTest 833 @failingTest
641 void test_externalConstructorWithBody_factory() { 834 void test_externalConstructorWithBody_factory() {
835 // TODO(brianwilkerson) Wrong errors:
836 // Expected 1 errors of type ParserErrorCode.EXTERNAL_CONSTRUCTOR_WITH_BODY, found 0
642 super.test_externalConstructorWithBody_factory(); 837 super.test_externalConstructorWithBody_factory();
643 } 838 }
644 839
645 @override 840 @override
646 @failingTest 841 @failingTest
647 void test_externalConstructorWithBody_named() { 842 void test_externalConstructorWithBody_named() {
843 // TODO(brianwilkerson) Wrong errors:
844 // Expected 1 errors of type ParserErrorCode.EXTERNAL_CONSTRUCTOR_WITH_BODY, found 0
648 super.test_externalConstructorWithBody_named(); 845 super.test_externalConstructorWithBody_named();
649 } 846 }
650 847
651 @override 848 @override
652 @failingTest 849 @failingTest
653 void test_externalEnum() { 850 void test_externalEnum() {
851 // TODO(brianwilkerson) Wrong errors:
852 // Expected 1 errors of type ParserErrorCode.EXTERNAL_ENUM, found 0;
853 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (10)
654 super.test_externalEnum(); 854 super.test_externalEnum();
655 } 855 }
656 856
657 @override 857 @override
658 @failingTest 858 @failingTest
659 void test_externalField_const() { 859 void test_externalField_const() {
860 // TODO(brianwilkerson) Wrong errors:
861 // Expected 1 errors of type ParserErrorCode.EXTERNAL_FIELD, found 0;
862 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (0)
660 super.test_externalField_const(); 863 super.test_externalField_const();
661 } 864 }
662 865
663 @override 866 @override
664 @failingTest 867 @failingTest
665 void test_externalField_final() { 868 void test_externalField_final() {
869 // TODO(brianwilkerson) Wrong errors:
870 // Expected 1 errors of type ParserErrorCode.EXTERNAL_FIELD, found 0;
871 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (0)
666 super.test_externalField_final(); 872 super.test_externalField_final();
667 } 873 }
668 874
669 @override 875 @override
670 @failingTest 876 @failingTest
671 void test_externalField_static() { 877 void test_externalField_static() {
878 // TODO(brianwilkerson) Wrong errors:
879 // Expected 1 errors of type ParserErrorCode.EXTERNAL_FIELD, found 0;
880 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (0)
672 super.test_externalField_static(); 881 super.test_externalField_static();
673 } 882 }
674 883
675 @override 884 @override
676 @failingTest 885 @failingTest
677 void test_externalField_typed() { 886 void test_externalField_typed() {
887 // TODO(brianwilkerson) Wrong errors:
888 // Expected 1 errors of type ParserErrorCode.EXTERNAL_FIELD, found 0;
889 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (0)
678 super.test_externalField_typed(); 890 super.test_externalField_typed();
679 } 891 }
680 892
681 @override 893 @override
682 @failingTest 894 @failingTest
683 void test_externalField_untyped() { 895 void test_externalField_untyped() {
896 // TODO(brianwilkerson) Wrong errors:
897 // Expected 1 errors of type ParserErrorCode.EXTERNAL_FIELD, found 0;
898 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (0)
684 super.test_externalField_untyped(); 899 super.test_externalField_untyped();
685 } 900 }
686 901
687 @override 902 @override
688 @failingTest 903 @failingTest
689 void test_externalGetterWithBody() { 904 void test_externalGetterWithBody() {
905 // TODO(brianwilkerson) Wrong errors:
906 // Expected 1 errors of type ParserErrorCode.EXTERNAL_GETTER_WITH_BODY, foun d 0
690 super.test_externalGetterWithBody(); 907 super.test_externalGetterWithBody();
691 } 908 }
692 909
693 @override 910 @override
694 @failingTest 911 @failingTest
695 void test_externalMethodWithBody() { 912 void test_externalMethodWithBody() {
913 // TODO(brianwilkerson) Wrong errors:
914 // Expected 1 errors of type ParserErrorCode.EXTERNAL_METHOD_WITH_BODY, foun d 0
696 super.test_externalMethodWithBody(); 915 super.test_externalMethodWithBody();
697 } 916 }
698 917
699 @override 918 @override
700 @failingTest 919 @failingTest
701 void test_externalOperatorWithBody() { 920 void test_externalOperatorWithBody() {
921 // TODO(brianwilkerson) Wrong errors:
922 // Expected 1 errors of type ParserErrorCode.EXTERNAL_OPERATOR_WITH_BODY, fo und 0
702 super.test_externalOperatorWithBody(); 923 super.test_externalOperatorWithBody();
703 } 924 }
704 925
705 @override 926 @override
706 @failingTest 927 @failingTest
707 void test_externalSetterWithBody() { 928 void test_externalSetterWithBody() {
929 // TODO(brianwilkerson) Wrong errors:
930 // Expected 1 errors of type ParserErrorCode.EXTERNAL_SETTER_WITH_BODY, foun d 0
708 super.test_externalSetterWithBody(); 931 super.test_externalSetterWithBody();
709 } 932 }
710 933
711 @override 934 @override
712 @failingTest 935 @failingTest
713 void test_externalTypedef() { 936 void test_externalTypedef() {
937 // TODO(brianwilkerson) Wrong errors:
938 // Expected 1 errors of type ParserErrorCode.EXTERNAL_TYPEDEF, found 0;
939 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (10)
714 super.test_externalTypedef(); 940 super.test_externalTypedef();
715 } 941 }
716 942
717 @override 943 @override
718 @failingTest 944 @failingTest
719 void test_extraCommaInParameterList() { 945 void test_extraCommaInParameterList() {
946 // TODO(brianwilkerson) Wrong errors:
947 // Expected 1 errors of type ParserErrorCode.MISSING_IDENTIFIER, found 0;
948 // 1 errors of type ParserErrorCode.EXPECTED_TOKEN, found 0
720 super.test_extraCommaInParameterList(); 949 super.test_extraCommaInParameterList();
721 } 950 }
722 951
723 @override 952 @override
724 @failingTest 953 @failingTest
725 void test_extraCommaTrailingNamedParameterGroup() { 954 void test_extraCommaTrailingNamedParameterGroup() {
955 // TODO(brianwilkerson) Wrong errors:
956 // Expected 1 errors of type ParserErrorCode.NORMAL_BEFORE_OPTIONAL_PARAMETE RS, found 0;
957 // 1 errors of type ParserErrorCode.MISSING_IDENTIFIER, found 0
726 super.test_extraCommaTrailingNamedParameterGroup(); 958 super.test_extraCommaTrailingNamedParameterGroup();
727 } 959 }
728 960
729 @override 961 @override
730 @failingTest 962 @failingTest
731 void test_extraCommaTrailingPositionalParameterGroup() { 963 void test_extraCommaTrailingPositionalParameterGroup() {
964 // TODO(brianwilkerson) Wrong errors:
965 // Expected 1 errors of type ParserErrorCode.NORMAL_BEFORE_OPTIONAL_PARAMETE RS, found 0;
966 // 1 errors of type ParserErrorCode.MISSING_IDENTIFIER, found 0
732 super.test_extraCommaTrailingPositionalParameterGroup(); 967 super.test_extraCommaTrailingPositionalParameterGroup();
733 } 968 }
734 969
735 @override 970 @override
736 @failingTest 971 @failingTest
737 void test_extraTrailingCommaInParameterList() { 972 void test_extraTrailingCommaInParameterList() {
973 // TODO(brianwilkerson) Wrong errors:
974 // Expected 1 errors of type ParserErrorCode.MISSING_IDENTIFIER, found 0
738 super.test_extraTrailingCommaInParameterList(); 975 super.test_extraTrailingCommaInParameterList();
739 } 976 }
740 977
741 @override 978 @override
742 @failingTest 979 @failingTest
743 void test_factoryTopLevelDeclaration_class() { 980 void test_factoryTopLevelDeclaration_class() {
981 // TODO(brianwilkerson) Wrong errors:
982 // Expected 1 errors of type ParserErrorCode.FACTORY_TOP_LEVEL_DECLARATION, found 0;
983 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 2 (1, 9)
744 super.test_factoryTopLevelDeclaration_class(); 984 super.test_factoryTopLevelDeclaration_class();
745 } 985 }
746 986
747 @override 987 @override
748 @failingTest 988 @failingTest
749 void test_factoryTopLevelDeclaration_enum() { 989 void test_factoryTopLevelDeclaration_enum() {
990 // TODO(brianwilkerson) Wrong errors:
991 // Expected 1 errors of type ParserErrorCode.FACTORY_TOP_LEVEL_DECLARATION, found 0;
992 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 2 (1, 9)
750 super.test_factoryTopLevelDeclaration_enum(); 993 super.test_factoryTopLevelDeclaration_enum();
751 } 994 }
752 995
753 @override 996 @override
754 @failingTest 997 @failingTest
755 void test_factoryTopLevelDeclaration_typedef() { 998 void test_factoryTopLevelDeclaration_typedef() {
999 // TODO(brianwilkerson) Wrong errors:
1000 // Expected 1 errors of type ParserErrorCode.FACTORY_TOP_LEVEL_DECLARATION, found 0;
1001 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 2 (1, 9)
756 super.test_factoryTopLevelDeclaration_typedef(); 1002 super.test_factoryTopLevelDeclaration_typedef();
757 } 1003 }
758 1004
759 @override 1005 @override
760 @failingTest 1006 @failingTest
761 void test_factoryWithInitializers() { 1007 void test_factoryWithInitializers() {
1008 // TODO(brianwilkerson) Does not recover.
1009 // Internal problem: Compiler cannot run without a compiler context.
1010 // Tip: Are calls to the compiler wrapped in CompilerContext.runInContext?
1011 // package:front_end/src/fasta/compiler_context.dart 81:7 Comp ilerContext.current
1012 // package:front_end/src/fasta/problems.dart 29:25 inte rnalProblem
1013 // package:front_end/src/fasta/problems.dart 41:10 unha ndled
1014 // package:analyzer/src/fasta/ast_builder.dart 1506:7 AstB uilder.endFactoryMethod
1015 // test/generated/parser_fasta_listener.dart 731:14 Forw ardingTestListener.endFactoryMethod
1016 // package:front_end/src/fasta/parser/parser.dart 2465:14 Pars er.parseFactoryMethod
1017 // package:front_end/src/fasta/parser/parser.dart 2240:15 Pars er.parseMember
1018 // test/generated/parser_fasta_test.dart 3051:39 Pars erProxy._run
762 super.test_factoryWithInitializers(); 1019 super.test_factoryWithInitializers();
763 } 1020 }
764 1021
765 @override 1022 @override
766 @failingTest 1023 @failingTest
767 void test_factoryWithoutBody() { 1024 void test_factoryWithoutBody() {
1025 // TODO(brianwilkerson) Wrong errors:
1026 // Expected 1 errors of type ParserErrorCode.FACTORY_WITHOUT_BODY, found 0
768 super.test_factoryWithoutBody(); 1027 super.test_factoryWithoutBody();
769 } 1028 }
770 1029
771 @override 1030 @override
772 @failingTest 1031 @failingTest
773 void test_fieldInitializerOutsideConstructor() { 1032 void test_fieldInitializerOutsideConstructor() {
1033 // TODO(brianwilkerson) Wrong errors:
1034 // Expected 1 errors of type ParserErrorCode.FIELD_INITIALIZER_OUTSIDE_CONST RUCTOR, found 0
774 super.test_fieldInitializerOutsideConstructor(); 1035 super.test_fieldInitializerOutsideConstructor();
775 } 1036 }
776 1037
777 @override 1038 @override
778 @failingTest 1039 @failingTest
779 void test_finalAndCovariant() { 1040 void test_finalAndCovariant() {
1041 // TODO(brianwilkerson) Wrong errors:
1042 // Expected 1 errors of type ParserErrorCode.FINAL_AND_COVARIANT, found 0
780 super.test_finalAndCovariant(); 1043 super.test_finalAndCovariant();
781 } 1044 }
782 1045
783 @override 1046 @override
784 @failingTest 1047 @failingTest
785 void test_finalAndVar() { 1048 void test_finalAndVar() {
1049 // TODO(brianwilkerson) Wrong errors:
1050 // Expected 1 errors of type ParserErrorCode.FINAL_AND_VAR, found 0;
1051 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (6)
786 super.test_finalAndVar(); 1052 super.test_finalAndVar();
787 } 1053 }
788 1054
789 @override 1055 @override
790 @failingTest 1056 @failingTest
791 void test_finalClass() { 1057 void test_finalClass() {
1058 // TODO(brianwilkerson) Wrong errors:
1059 // Expected 1 errors of type ParserErrorCode.FINAL_CLASS, found 0;
1060 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 2 (1, 7)
792 super.test_finalClass(); 1061 super.test_finalClass();
793 } 1062 }
794 1063
795 @override 1064 @override
796 @failingTest 1065 @failingTest
797 void test_finalConstructor() { 1066 void test_finalConstructor() {
1067 // TODO(brianwilkerson) Wrong errors:
1068 // Expected 1 errors of type ParserErrorCode.FINAL_CONSTRUCTOR, found 0
798 super.test_finalConstructor(); 1069 super.test_finalConstructor();
799 } 1070 }
800 1071
801 @override 1072 @override
802 @failingTest 1073 @failingTest
803 void test_finalEnum() { 1074 void test_finalEnum() {
1075 // TODO(brianwilkerson) Wrong errors:
1076 // Expected 1 errors of type ParserErrorCode.FINAL_ENUM, found 0;
1077 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 2 (1, 7)
804 super.test_finalEnum(); 1078 super.test_finalEnum();
805 } 1079 }
806 1080
807 @override 1081 @override
808 @failingTest 1082 @failingTest
809 void test_finalMethod() { 1083 void test_finalMethod() {
1084 // TODO(brianwilkerson) Wrong errors:
1085 // Expected 1 errors of type ParserErrorCode.FINAL_METHOD, found 0
810 super.test_finalMethod(); 1086 super.test_finalMethod();
811 } 1087 }
812 1088
813 @override 1089 @override
814 @failingTest 1090 @failingTest
815 void test_finalTypedef() { 1091 void test_finalTypedef() {
1092 // TODO(brianwilkerson) Wrong errors:
1093 // Expected 1 errors of type ParserErrorCode.FINAL_TYPEDEF, found 0;
1094 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 2 (1, 7)
816 super.test_finalTypedef(); 1095 super.test_finalTypedef();
817 } 1096 }
818 1097
819 @override 1098 @override
820 @failingTest 1099 @failingTest
821 void test_functionTypedParameter_const() { 1100 void test_functionTypedParameter_const() {
1101 // TODO(brianwilkerson) Wrong errors:
1102 // Expected 1 errors of type ParserErrorCode.FUNCTION_TYPED_PARAMETER_VAR, f ound 0;
1103 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (8)
822 super.test_functionTypedParameter_const(); 1104 super.test_functionTypedParameter_const();
823 } 1105 }
824 1106
825 @override 1107 @override
826 @failingTest 1108 @failingTest
827 void test_functionTypedParameter_final() { 1109 void test_functionTypedParameter_final() {
1110 // TODO(brianwilkerson) Wrong errors:
1111 // Expected 1 errors of type ParserErrorCode.FUNCTION_TYPED_PARAMETER_VAR, f ound 0
828 super.test_functionTypedParameter_final(); 1112 super.test_functionTypedParameter_final();
829 } 1113 }
830 1114
831 @override 1115 @override
832 @failingTest 1116 @failingTest
833 void test_functionTypedParameter_incomplete1() { 1117 void test_functionTypedParameter_incomplete1() {
1118 // TODO(brianwilkerson) Does not recover.
1119 // type 'FormalParameterListImpl' is not a subtype of type 'TypeParameterL ist' of 'typeParameters' where
1120 // FormalParameterListImpl is from package:analyzer/src/dart/ast/ast.dart
1121 // TypeParameterList is from package:analyzer/dart/ast/ast.dart
1122 //
1123 // package:analyzer/src/fasta/ast_builder.dart 1122:40 AstB uilder.endTopLevelMethod
1124 // package:front_end/src/fasta/parser/parser.dart 1741:14 Pars er.parseTopLevelMethod
1125 // package:front_end/src/fasta/parser/parser.dart 1646:11 Pars er.parseTopLevelMember
1126 // package:front_end/src/fasta/parser/parser.dart 298:14 Pars er._parseTopLevelDeclaration
1127 // package:front_end/src/fasta/parser/parser.dart 263:13 Pars er.parseTopLevelDeclaration
1128 // package:front_end/src/fasta/parser/parser.dart 252:15 Pars er.parseUnit
1129 // package:analyzer/src/generated/parser_fasta.dart 77:33 _Par ser2.parseCompilationUnit2
1130 // package:analyzer/src/generated/parser_fasta.dart 72:12 _Par ser2.parseCompilationUnit
1131 // test/generated/parser_fasta_test.dart 2543:35 Fast aParserTestCase.parseCompilationUnit
834 super.test_functionTypedParameter_incomplete1(); 1132 super.test_functionTypedParameter_incomplete1();
835 } 1133 }
836 1134
837 @override 1135 @override
838 @failingTest 1136 @failingTest
839 void test_functionTypedParameter_var() { 1137 void test_functionTypedParameter_var() {
1138 // TODO(brianwilkerson) Wrong errors:
1139 // Expected 1 errors of type ParserErrorCode.FUNCTION_TYPED_PARAMETER_VAR, f ound 0
840 super.test_functionTypedParameter_var(); 1140 super.test_functionTypedParameter_var();
841 } 1141 }
842 1142
843 @override 1143 @override
844 @failingTest 1144 @failingTest
845 void test_genericFunctionType_extraLessThan() { 1145 void test_genericFunctionType_extraLessThan() {
1146 // TODO(brianwilkerson) Wrong errors:
1147 // Expected 1 errors of type ParserErrorCode.UNEXPECTED_TOKEN, found 0;
1148 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (52)
846 super.test_genericFunctionType_extraLessThan(); 1149 super.test_genericFunctionType_extraLessThan();
847 } 1150 }
848 1151
849 @override 1152 @override
850 @failingTest 1153 @failingTest
851 void test_getterInFunction_block_noReturnType() { 1154 void test_getterInFunction_block_noReturnType() {
1155 // TODO(brianwilkerson) Does not recover.
1156 // type 'ExpressionStatementImpl' is not a subtype of type 'FunctionDeclar ationStatement' of 'statement' where
1157 // ExpressionStatementImpl is from package:analyzer/src/dart/ast/ast.dart
1158 // FunctionDeclarationStatement is from package:analyzer/dart/ast/ast.dart
1159 //
1160 // test/generated/parser_test.dart 3019:9 Fast aParserTestCase&ErrorParserTestMixin.test_getterInFunction_block_noReturnType
852 super.test_getterInFunction_block_noReturnType(); 1161 super.test_getterInFunction_block_noReturnType();
853 } 1162 }
854 1163
855 @override 1164 @override
856 @failingTest 1165 @failingTest
857 void test_getterInFunction_block_returnType() { 1166 void test_getterInFunction_block_returnType() {
1167 // TODO(brianwilkerson) Wrong errors:
1168 // Expected 1 errors of type ParserErrorCode.GETTER_IN_FUNCTION, found 0
858 super.test_getterInFunction_block_returnType(); 1169 super.test_getterInFunction_block_returnType();
859 } 1170 }
860 1171
861 @override 1172 @override
862 @failingTest 1173 @failingTest
863 void test_getterInFunction_expression_noReturnType() { 1174 void test_getterInFunction_expression_noReturnType() {
1175 // TODO(brianwilkerson) Wrong errors:
1176 // Expected 1 errors of type ParserErrorCode.GETTER_IN_FUNCTION, found 0
864 super.test_getterInFunction_expression_noReturnType(); 1177 super.test_getterInFunction_expression_noReturnType();
865 } 1178 }
866 1179
867 @override 1180 @override
868 @failingTest 1181 @failingTest
869 void test_getterInFunction_expression_returnType() { 1182 void test_getterInFunction_expression_returnType() {
1183 // TODO(brianwilkerson) Wrong errors:
1184 // Expected 1 errors of type ParserErrorCode.GETTER_IN_FUNCTION, found 0
870 super.test_getterInFunction_expression_returnType(); 1185 super.test_getterInFunction_expression_returnType();
871 } 1186 }
872 1187
873 @override 1188 @override
874 @failingTest 1189 @failingTest
875 void test_getterWithParameters() { 1190 void test_getterWithParameters() {
1191 // TODO(brianwilkerson) Wrong errors:
1192 // Expected 1 errors of type ParserErrorCode.GETTER_WITH_PARAMETERS, found 0
876 super.test_getterWithParameters(); 1193 super.test_getterWithParameters();
877 } 1194 }
878 1195
879 @override 1196 @override
880 @failingTest 1197 @failingTest
881 void test_illegalAssignmentToNonAssignable_postfix_minusMinus_literal() { 1198 void test_illegalAssignmentToNonAssignable_postfix_minusMinus_literal() {
1199 // TODO(brianwilkerson) Wrong errors:
1200 // Expected 1 errors of type ParserErrorCode.ILLEGAL_ASSIGNMENT_TO_NON_ASSIG NABLE, found 0
882 super.test_illegalAssignmentToNonAssignable_postfix_minusMinus_literal(); 1201 super.test_illegalAssignmentToNonAssignable_postfix_minusMinus_literal();
883 } 1202 }
884 1203
885 @override 1204 @override
886 @failingTest 1205 @failingTest
887 void test_illegalAssignmentToNonAssignable_postfix_plusPlus_literal() { 1206 void test_illegalAssignmentToNonAssignable_postfix_plusPlus_literal() {
1207 // TODO(brianwilkerson) Wrong errors:
1208 // Expected 1 errors of type ParserErrorCode.ILLEGAL_ASSIGNMENT_TO_NON_ASSIG NABLE, found 0
888 super.test_illegalAssignmentToNonAssignable_postfix_plusPlus_literal(); 1209 super.test_illegalAssignmentToNonAssignable_postfix_plusPlus_literal();
889 } 1210 }
890 1211
891 @override 1212 @override
892 @failingTest 1213 @failingTest
893 void test_illegalAssignmentToNonAssignable_postfix_plusPlus_parenthesized() { 1214 void test_illegalAssignmentToNonAssignable_postfix_plusPlus_parenthesized() {
1215 // TODO(brianwilkerson) Wrong errors:
1216 // Expected 1 errors of type ParserErrorCode.ILLEGAL_ASSIGNMENT_TO_NON_ASSIG NABLE, found 0
894 super 1217 super
895 .test_illegalAssignmentToNonAssignable_postfix_plusPlus_parenthesized(); 1218 .test_illegalAssignmentToNonAssignable_postfix_plusPlus_parenthesized();
896 } 1219 }
897 1220
898 @override 1221 @override
899 @failingTest 1222 @failingTest
900 void test_illegalAssignmentToNonAssignable_primarySelectorPostfix() { 1223 void test_illegalAssignmentToNonAssignable_primarySelectorPostfix() {
1224 // TODO(brianwilkerson) Wrong errors:
1225 // Expected 1 errors of type ParserErrorCode.ILLEGAL_ASSIGNMENT_TO_NON_ASSIG NABLE, found 0
901 super.test_illegalAssignmentToNonAssignable_primarySelectorPostfix(); 1226 super.test_illegalAssignmentToNonAssignable_primarySelectorPostfix();
902 } 1227 }
903 1228
904 @override 1229 @override
905 @failingTest 1230 @failingTest
906 void test_illegalAssignmentToNonAssignable_superAssigned() { 1231 void test_illegalAssignmentToNonAssignable_superAssigned() {
1232 // TODO(brianwilkerson) Does not recover.
1233 // Expected: true
1234 // Actual: <false>
1235 //
1236 // package:test expe ct
1237 // test/generated/parser_fasta_test.dart 3157:5 Pars erProxy._run
907 super.test_illegalAssignmentToNonAssignable_superAssigned(); 1238 super.test_illegalAssignmentToNonAssignable_superAssigned();
908 } 1239 }
909 1240
910 @override 1241 @override
911 @failingTest 1242 @failingTest
912 void test_illegalAssignmentToNonAssignable_superAssigned_failing() { 1243 void test_illegalAssignmentToNonAssignable_superAssigned_failing() {
1244 // TODO(brianwilkerson) Does not recover.
1245 // Expected: true
1246 // Actual: <false>
1247 //
1248 // package:test expe ct
1249 // test/generated/parser_fasta_test.dart 3157:5 Pars erProxy._run
913 super.test_illegalAssignmentToNonAssignable_superAssigned_failing(); 1250 super.test_illegalAssignmentToNonAssignable_superAssigned_failing();
914 } 1251 }
915 1252
916 @override 1253 @override
917 @failingTest 1254 @failingTest
918 void test_implementsBeforeExtends() { 1255 void test_implementsBeforeExtends() {
1256 // TODO(brianwilkerson) Wrong errors:
1257 // Expected 1 errors of type ParserErrorCode.IMPLEMENTS_BEFORE_EXTENDS, foun d 0
919 super.test_implementsBeforeExtends(); 1258 super.test_implementsBeforeExtends();
920 } 1259 }
921 1260
922 @override 1261 @override
923 @failingTest 1262 @failingTest
924 void test_implementsBeforeWith() { 1263 void test_implementsBeforeWith() {
1264 // TODO(brianwilkerson) Wrong errors:
1265 // Expected 1 errors of type ParserErrorCode.IMPLEMENTS_BEFORE_WITH, found 0
925 super.test_implementsBeforeWith(); 1266 super.test_implementsBeforeWith();
926 } 1267 }
927 1268
928 @override 1269 @override
929 @failingTest 1270 @failingTest
930 void test_importDirectiveAfterPartDirective() { 1271 void test_importDirectiveAfterPartDirective() {
1272 // TODO(brianwilkerson) Wrong errors:
1273 // Expected 1 errors of type ParserErrorCode.IMPORT_DIRECTIVE_AFTER_PART_DIR ECTIVE, found 0
931 super.test_importDirectiveAfterPartDirective(); 1274 super.test_importDirectiveAfterPartDirective();
932 } 1275 }
933 1276
934 @override 1277 @override
935 @failingTest 1278 @failingTest
936 void test_initializedVariableInForEach() { 1279 void test_initializedVariableInForEach() {
1280 // TODO(brianwilkerson) Wrong errors:
1281 // Expected 1 errors of type ParserErrorCode.INITIALIZED_VARIABLE_IN_FOR_EAC H, found 0
937 super.test_initializedVariableInForEach(); 1282 super.test_initializedVariableInForEach();
938 } 1283 }
939 1284
940 @override 1285 @override
941 @failingTest 1286 @failingTest
942 void test_invalidAwaitInFor() { 1287 void test_invalidAwaitInFor() {
1288 // TODO(brianwilkerson) Wrong errors:
1289 // Expected 1 errors of type ParserErrorCode.INVALID_AWAIT_IN_FOR, found 0
943 super.test_invalidAwaitInFor(); 1290 super.test_invalidAwaitInFor();
944 } 1291 }
945 1292
946 @override 1293 @override
947 @failingTest 1294 @failingTest
948 void test_invalidCodePoint() { 1295 void test_invalidCodePoint() {
1296 // TODO(brianwilkerson) Does not recover.
1297 // Internal problem: Compiler cannot run without a compiler context.
1298 // Tip: Are calls to the compiler wrapped in CompilerContext.runInContext?
1299 // package:front_end/src/fasta/compiler_context.dart 81:7 Comp ilerContext.current
1300 // package:front_end/src/fasta/command_line_reporting.dart 112:30 shou ldThrowOn
1301 // package:front_end/src/fasta/deprecated_problems.dart 41:7 depr ecated_inputError
1302 // package:front_end/src/fasta/quote.dart 181:5 unes capeCodeUnits.error
1303 // package:front_end/src/fasta/quote.dart 251:40 unes capeCodeUnits
1304 // package:front_end/src/fasta/quote.dart 147:13 unes cape
1305 // package:front_end/src/fasta/quote.dart 135:10 unes capeString
1306 // package:analyzer/src/fasta/ast_builder.dart 159:22 AstB uilder.endLiteralString
1307 // test/generated/parser_fasta_listener.dart 896:14 Forw ardingTestListener.endLiteralString
1308 // package:front_end/src/fasta/parser/parser.dart 3497:14 Pars er.parseSingleLiteralString
1309 // package:front_end/src/fasta/parser/parser.dart 3434:13 Pars er.parseLiteralString
1310 // package:front_end/src/fasta/parser/parser.dart 3133:14 Pars er.parsePrimary
1311 // package:front_end/src/fasta/parser/parser.dart 3097:14 Pars er.parseUnaryExpression
1312 // package:front_end/src/fasta/parser/parser.dart 2968:13 Pars er.parsePrecedenceExpression
1313 // package:front_end/src/fasta/parser/parser.dart 2942:11 Pars er.parseExpression
1314 // test/generated/parser_fasta_test.dart 3196:39 Pars erProxy._run
949 super.test_invalidCodePoint(); 1315 super.test_invalidCodePoint();
950 } 1316 }
951 1317
952 @override 1318 @override
953 @failingTest 1319 @failingTest
954 void test_invalidCommentReference__new_nonIdentifier() { 1320 void test_invalidCommentReference__new_nonIdentifier() {
1321 // TODO(brianwilkerson) Parsing comment references not yet supported.
955 super.test_invalidCommentReference__new_nonIdentifier(); 1322 super.test_invalidCommentReference__new_nonIdentifier();
956 } 1323 }
957 1324
958 @override 1325 @override
959 @failingTest 1326 @failingTest
960 void test_invalidCommentReference__new_tooMuch() { 1327 void test_invalidCommentReference__new_tooMuch() {
1328 // TODO(brianwilkerson) Parsing comment references not yet supported.
961 super.test_invalidCommentReference__new_tooMuch(); 1329 super.test_invalidCommentReference__new_tooMuch();
962 } 1330 }
963 1331
964 @override 1332 @override
965 @failingTest 1333 @failingTest
966 void test_invalidCommentReference__nonNew_nonIdentifier() { 1334 void test_invalidCommentReference__nonNew_nonIdentifier() {
1335 // TODO(brianwilkerson) Parsing comment references not yet supported.
967 super.test_invalidCommentReference__nonNew_nonIdentifier(); 1336 super.test_invalidCommentReference__nonNew_nonIdentifier();
968 } 1337 }
969 1338
970 @override 1339 @override
971 @failingTest 1340 @failingTest
972 void test_invalidCommentReference__nonNew_tooMuch() { 1341 void test_invalidCommentReference__nonNew_tooMuch() {
1342 // TODO(brianwilkerson) Parsing comment references not yet supported.
973 super.test_invalidCommentReference__nonNew_tooMuch(); 1343 super.test_invalidCommentReference__nonNew_tooMuch();
974 } 1344 }
975 1345
976 @override 1346 @override
977 @failingTest 1347 @failingTest
978 void test_invalidConstructorName_with() { 1348 void test_invalidConstructorName_with() {
1349 // TODO(brianwilkerson) Does not recover.
1350 // type 'DeclaredSimpleIdentifier' is not a subtype of type 'TypeAnnotatio n' of 'returnType' where
1351 // DeclaredSimpleIdentifier is from package:analyzer/src/dart/ast/ast.dart
1352 // TypeAnnotation is from package:analyzer/dart/ast/ast.dart
1353 //
1354 // package:analyzer/src/fasta/ast_builder.dart 1620:33 AstB uilder.endMethod
1355 // test/generated/parser_fasta_listener.dart 926:14 Forw ardingTestListener.endMethod
1356 // package:front_end/src/fasta/parser/parser.dart 2433:14 Pars er.parseMethod
1357 // package:front_end/src/fasta/parser/parser.dart 2323:11 Pars er.parseMember
1358 // test/generated/parser_fasta_test.dart 3179:39 Pars erProxy._run
979 super.test_invalidConstructorName_with(); 1359 super.test_invalidConstructorName_with();
980 } 1360 }
981 1361
982 @override 1362 @override
983 @failingTest 1363 @failingTest
984 void test_invalidHexEscape_invalidDigit() { 1364 void test_invalidHexEscape_invalidDigit() {
1365 // TODO(brianwilkerson) Does not recover.
1366 // Internal problem: Compiler cannot run without a compiler context.
1367 // Tip: Are calls to the compiler wrapped in CompilerContext.runInContext?
1368 // package:front_end/src/fasta/compiler_context.dart 81:7 Comp ilerContext.current
1369 // package:front_end/src/fasta/command_line_reporting.dart 112:30 shou ldThrowOn
1370 // package:front_end/src/fasta/deprecated_problems.dart 41:7 depr ecated_inputError
1371 // package:front_end/src/fasta/quote.dart 181:5 unes capeCodeUnits.error
1372 // package:front_end/src/fasta/quote.dart 221:47 unes capeCodeUnits
1373 // package:front_end/src/fasta/quote.dart 147:13 unes cape
1374 // package:front_end/src/fasta/quote.dart 135:10 unes capeString
1375 // package:analyzer/src/fasta/ast_builder.dart 159:22 AstB uilder.endLiteralString
1376 // test/generated/parser_fasta_listener.dart 896:14 Forw ardingTestListener.endLiteralString
1377 // package:front_end/src/fasta/parser/parser.dart 3497:14 Pars er.parseSingleLiteralString
1378 // package:front_end/src/fasta/parser/parser.dart 3434:13 Pars er.parseLiteralString
1379 // package:front_end/src/fasta/parser/parser.dart 3133:14 Pars er.parsePrimary
1380 // package:front_end/src/fasta/parser/parser.dart 3097:14 Pars er.parseUnaryExpression
1381 // package:front_end/src/fasta/parser/parser.dart 2968:13 Pars er.parsePrecedenceExpression
1382 // package:front_end/src/fasta/parser/parser.dart 2942:11 Pars er.parseExpression
1383 // test/generated/parser_fasta_test.dart 3196:39 Pars erProxy._run
985 super.test_invalidHexEscape_invalidDigit(); 1384 super.test_invalidHexEscape_invalidDigit();
986 } 1385 }
987 1386
988 @override 1387 @override
989 @failingTest 1388 @failingTest
990 void test_invalidHexEscape_tooFewDigits() { 1389 void test_invalidHexEscape_tooFewDigits() {
1390 // TODO(brianwilkerson) Does not recover.
1391 // Internal problem: Compiler cannot run without a compiler context.
1392 // Tip: Are calls to the compiler wrapped in CompilerContext.runInContext?
1393 // package:front_end/src/fasta/compiler_context.dart 81:7 Comp ilerContext.current
1394 // package:front_end/src/fasta/command_line_reporting.dart 112:30 shou ldThrowOn
1395 // package:front_end/src/fasta/deprecated_problems.dart 41:7 depr ecated_inputError
1396 // package:front_end/src/fasta/quote.dart 181:5 unes capeCodeUnits.error
1397 // package:front_end/src/fasta/quote.dart 217:52 unes capeCodeUnits
1398 // package:front_end/src/fasta/quote.dart 147:13 unes cape
1399 // package:front_end/src/fasta/quote.dart 135:10 unes capeString
1400 // package:analyzer/src/fasta/ast_builder.dart 159:22 AstB uilder.endLiteralString
1401 // test/generated/parser_fasta_listener.dart 896:14 Forw ardingTestListener.endLiteralString
1402 // package:front_end/src/fasta/parser/parser.dart 3497:14 Pars er.parseSingleLiteralString
1403 // package:front_end/src/fasta/parser/parser.dart 3434:13 Pars er.parseLiteralString
1404 // package:front_end/src/fasta/parser/parser.dart 3133:14 Pars er.parsePrimary
1405 // package:front_end/src/fasta/parser/parser.dart 3097:14 Pars er.parseUnaryExpression
1406 // package:front_end/src/fasta/parser/parser.dart 2968:13 Pars er.parsePrecedenceExpression
1407 // package:front_end/src/fasta/parser/parser.dart 2942:11 Pars er.parseExpression
1408 // test/generated/parser_fasta_test.dart 3196:39 Pars erProxy._run
991 super.test_invalidHexEscape_tooFewDigits(); 1409 super.test_invalidHexEscape_tooFewDigits();
992 } 1410 }
993 1411
994 @override 1412 @override
995 @failingTest 1413 @failingTest
996 void test_invalidInterpolationIdentifier_startWithDigit() { 1414 void test_invalidInterpolationIdentifier_startWithDigit() {
1415 // TODO(brianwilkerson) Does not recover.
1416 // RangeError: Value not in range: -1
1417 // dart:core _Str ingBase.substring
1418 // package:front_end/src/fasta/quote.dart 130:12 unes capeLastStringPart
1419 // package:analyzer/src/fasta/ast_builder.dart 181:17 AstB uilder.endLiteralString
1420 // test/generated/parser_fasta_listener.dart 896:14 Forw ardingTestListener.endLiteralString
1421 // package:front_end/src/fasta/parser/parser.dart 3497:14 Pars er.parseSingleLiteralString
1422 // package:front_end/src/fasta/parser/parser.dart 3434:13 Pars er.parseLiteralString
1423 // package:front_end/src/fasta/parser/parser.dart 3133:14 Pars er.parsePrimary
1424 // package:front_end/src/fasta/parser/parser.dart 3097:14 Pars er.parseUnaryExpression
1425 // package:front_end/src/fasta/parser/parser.dart 2968:13 Pars er.parsePrecedenceExpression
1426 // package:front_end/src/fasta/parser/parser.dart 2942:11 Pars er.parseExpression
1427 // test/generated/parser_fasta_test.dart 3196:39 Pars erProxy._run
997 super.test_invalidInterpolationIdentifier_startWithDigit(); 1428 super.test_invalidInterpolationIdentifier_startWithDigit();
998 } 1429 }
999 1430
1000 @override 1431 @override
1001 @failingTest 1432 @failingTest
1002 void test_invalidLiteralInConfiguration() { 1433 void test_invalidLiteralInConfiguration() {
1434 // TODO(brianwilkerson) Wrong errors:
1435 // Expected 1 errors of type ParserErrorCode.INVALID_LITERAL_IN_CONFIGURATIO N, found 0
1003 super.test_invalidLiteralInConfiguration(); 1436 super.test_invalidLiteralInConfiguration();
1004 } 1437 }
1005 1438
1006 @override 1439 @override
1007 @failingTest 1440 @failingTest
1008 void test_invalidOperator() { 1441 void test_invalidOperator() {
1442 // TODO(brianwilkerson) Does not recover.
1443 // type 'SimpleIdentifierImpl' is not a subtype of type 'TypeAnnotation' o f 'returnType' where
1444 // SimpleIdentifierImpl is from package:analyzer/src/dart/ast/ast.dart
1445 // TypeAnnotation is from package:analyzer/dart/ast/ast.dart
1446 //
1447 // package:analyzer/src/fasta/ast_builder.dart 1620:33 AstB uilder.endMethod
1448 // test/generated/parser_fasta_listener.dart 926:14 Forw ardingTestListener.endMethod
1449 // package:front_end/src/fasta/parser/parser.dart 2433:14 Pars er.parseMethod
1450 // package:front_end/src/fasta/parser/parser.dart 2323:11 Pars er.parseMember
1451 // test/generated/parser_fasta_test.dart 3196:39 Pars erProxy._run
1009 super.test_invalidOperator(); 1452 super.test_invalidOperator();
1010 } 1453 }
1011 1454
1012 @override 1455 @override
1013 @failingTest 1456 @failingTest
1014 void test_invalidOperatorAfterSuper_assignableExpression() { 1457 void test_invalidOperatorAfterSuper_assignableExpression() {
1458 // TODO(brianwilkerson) Wrong errors:
1459 // Expected 1 errors of type ParserErrorCode.INVALID_OPERATOR_FOR_SUPER, fou nd 0
1015 super.test_invalidOperatorAfterSuper_assignableExpression(); 1460 super.test_invalidOperatorAfterSuper_assignableExpression();
1016 } 1461 }
1017 1462
1018 @override 1463 @override
1019 @failingTest 1464 @failingTest
1020 void test_invalidOperatorAfterSuper_primaryExpression() { 1465 void test_invalidOperatorAfterSuper_primaryExpression() {
1466 // TODO(brianwilkerson) Does not recover.
1467 // Expected: true
1468 // Actual: <false>
1469 //
1470 // package:test expe ct
1471 // test/generated/parser_fasta_test.dart 3197:5 Pars erProxy._run
1021 super.test_invalidOperatorAfterSuper_primaryExpression(); 1472 super.test_invalidOperatorAfterSuper_primaryExpression();
1022 } 1473 }
1023 1474
1024 @override 1475 @override
1025 @failingTest 1476 @failingTest
1026 void test_invalidOperatorForSuper() { 1477 void test_invalidOperatorForSuper() {
1478 // TODO(brianwilkerson) Wrong errors:
1479 // Expected 1 errors of type ParserErrorCode.INVALID_OPERATOR_FOR_SUPER, fou nd 0
1027 super.test_invalidOperatorForSuper(); 1480 super.test_invalidOperatorForSuper();
1028 } 1481 }
1029 1482
1030 @override 1483 @override
1031 @failingTest 1484 @failingTest
1032 void test_invalidStarAfterAsync() { 1485 void test_invalidStarAfterAsync() {
1486 // TODO(brianwilkerson) Does not recover.
1487 // Expected: an object with length of <1>
1488 // Actual: <Instance of 'Stack'>
1489 // Which: has length of <0>
1490 //
1491 // package:test expe ct
1492 // test/generated/parser_fasta_test.dart 3290:7 Pars erProxy._run
1033 super.test_invalidStarAfterAsync(); 1493 super.test_invalidStarAfterAsync();
1034 } 1494 }
1035 1495
1036 @override 1496 @override
1037 @failingTest 1497 @failingTest
1038 void test_invalidSync() { 1498 void test_invalidSync() {
1499 // TODO(brianwilkerson) Does not recover.
1500 // Expected: an object with length of <1>
1501 // Actual: <Instance of 'Stack'>
1502 // Which: has length of <0>
1503 //
1504 // package:test expe ct
1505 // test/generated/parser_fasta_test.dart 3290:7 Pars erProxy._run
1039 super.test_invalidSync(); 1506 super.test_invalidSync();
1040 } 1507 }
1041 1508
1042 @override 1509 @override
1043 @failingTest 1510 @failingTest
1044 void test_invalidUnicodeEscape_incomplete_noDigits() { 1511 void test_invalidUnicodeEscape_incomplete_noDigits() {
1512 // TODO(brianwilkerson) Does not recover.
1513 // Internal problem: Compiler cannot run without a compiler context.
1514 // Tip: Are calls to the compiler wrapped in CompilerContext.runInContext?
1515 // package:front_end/src/fasta/compiler_context.dart 81:7 Comp ilerContext.current
1516 // package:front_end/src/fasta/command_line_reporting.dart 112:30 shou ldThrowOn
1517 // package:front_end/src/fasta/deprecated_problems.dart 41:7 depr ecated_inputError
1518 // package:front_end/src/fasta/quote.dart 181:5 unes capeCodeUnits.error
1519 // package:front_end/src/fasta/quote.dart 232:54 unes capeCodeUnits
1520 // package:front_end/src/fasta/quote.dart 147:13 unes cape
1521 // package:front_end/src/fasta/quote.dart 135:10 unes capeString
1522 // package:analyzer/src/fasta/ast_builder.dart 159:22 AstB uilder.endLiteralString
1523 // test/generated/parser_fasta_listener.dart 896:14 Forw ardingTestListener.endLiteralString
1524 // package:front_end/src/fasta/parser/parser.dart 3497:14 Pars er.parseSingleLiteralString
1525 // package:front_end/src/fasta/parser/parser.dart 3434:13 Pars er.parseLiteralString
1526 // package:front_end/src/fasta/parser/parser.dart 3133:14 Pars er.parsePrimary
1527 // package:front_end/src/fasta/parser/parser.dart 3097:14 Pars er.parseUnaryExpression
1528 // package:front_end/src/fasta/parser/parser.dart 2968:13 Pars er.parsePrecedenceExpression
1529 // package:front_end/src/fasta/parser/parser.dart 2942:11 Pars er.parseExpression
1530 // package:front_end/src/fasta/parser/parser.dart 2862:13 Pars er.parseExpressionStatement
1531 // package:front_end/src/fasta/parser/parser.dart 2790:14 Pars er.parseStatementX
1532 // package:front_end/src/fasta/parser/parser.dart 2722:20 Pars er.parseStatement
1533 // test/generated/parser_fasta_test.dart 3287:39 Pars erProxy._run
1045 super.test_invalidUnicodeEscape_incomplete_noDigits(); 1534 super.test_invalidUnicodeEscape_incomplete_noDigits();
1046 } 1535 }
1047 1536
1048 @override 1537 @override
1049 @failingTest 1538 @failingTest
1050 void test_invalidUnicodeEscape_incomplete_someDigits() { 1539 void test_invalidUnicodeEscape_incomplete_someDigits() {
1540 // TODO(brianwilkerson) Does not recover.
1541 // Internal problem: Compiler cannot run without a compiler context.
1542 // Tip: Are calls to the compiler wrapped in CompilerContext.runInContext?
1543 // package:front_end/src/fasta/compiler_context.dart 81:7 Comp ilerContext.current
1544 // package:front_end/src/fasta/command_line_reporting.dart 112:30 shou ldThrowOn
1545 // package:front_end/src/fasta/deprecated_problems.dart 41:7 depr ecated_inputError
1546 // package:front_end/src/fasta/quote.dart 181:5 unes capeCodeUnits.error
1547 // package:front_end/src/fasta/quote.dart 232:54 unes capeCodeUnits
1548 // package:front_end/src/fasta/quote.dart 147:13 unes cape
1549 // package:front_end/src/fasta/quote.dart 135:10 unes capeString
1550 // package:analyzer/src/fasta/ast_builder.dart 159:22 AstB uilder.endLiteralString
1551 // test/generated/parser_fasta_listener.dart 896:14 Forw ardingTestListener.endLiteralString
1552 // package:front_end/src/fasta/parser/parser.dart 3497:14 Pars er.parseSingleLiteralString
1553 // package:front_end/src/fasta/parser/parser.dart 3434:13 Pars er.parseLiteralString
1554 // package:front_end/src/fasta/parser/parser.dart 3133:14 Pars er.parsePrimary
1555 // package:front_end/src/fasta/parser/parser.dart 3097:14 Pars er.parseUnaryExpression
1556 // package:front_end/src/fasta/parser/parser.dart 2968:13 Pars er.parsePrecedenceExpression
1557 // package:front_end/src/fasta/parser/parser.dart 2942:11 Pars er.parseExpression
1558 // package:front_end/src/fasta/parser/parser.dart 2862:13 Pars er.parseExpressionStatement
1559 // package:front_end/src/fasta/parser/parser.dart 2790:14 Pars er.parseStatementX
1560 // package:front_end/src/fasta/parser/parser.dart 2722:20 Pars er.parseStatement
1561 // test/generated/parser_fasta_test.dart 3287:39 Pars erProxy._run
1051 super.test_invalidUnicodeEscape_incomplete_someDigits(); 1562 super.test_invalidUnicodeEscape_incomplete_someDigits();
1052 } 1563 }
1053 1564
1054 @override 1565 @override
1055 @failingTest 1566 @failingTest
1056 void test_invalidUnicodeEscape_invalidDigit() { 1567 void test_invalidUnicodeEscape_invalidDigit() {
1568 // TODO(brianwilkerson) Does not recover.
1569 // Internal problem: Compiler cannot run without a compiler context.
1570 // Tip: Are calls to the compiler wrapped in CompilerContext.runInContext?
1571 // package:front_end/src/fasta/compiler_context.dart 81:7 Comp ilerContext.current
1572 // package:front_end/src/fasta/command_line_reporting.dart 112:30 shou ldThrowOn
1573 // package:front_end/src/fasta/deprecated_problems.dart 41:7 depr ecated_inputError
1574 // package:front_end/src/fasta/quote.dart 181:5 unes capeCodeUnits.error
1575 // package:front_end/src/fasta/quote.dart 240:54 unes capeCodeUnits
1576 // package:front_end/src/fasta/quote.dart 147:13 unes cape
1577 // package:front_end/src/fasta/quote.dart 135:10 unes capeString
1578 // package:analyzer/src/fasta/ast_builder.dart 159:22 AstB uilder.endLiteralString
1579 // test/generated/parser_fasta_listener.dart 896:14 Forw ardingTestListener.endLiteralString
1580 // package:front_end/src/fasta/parser/parser.dart 3497:14 Pars er.parseSingleLiteralString
1581 // package:front_end/src/fasta/parser/parser.dart 3434:13 Pars er.parseLiteralString
1582 // package:front_end/src/fasta/parser/parser.dart 3133:14 Pars er.parsePrimary
1583 // package:front_end/src/fasta/parser/parser.dart 3097:14 Pars er.parseUnaryExpression
1584 // package:front_end/src/fasta/parser/parser.dart 2968:13 Pars er.parsePrecedenceExpression
1585 // package:front_end/src/fasta/parser/parser.dart 2942:11 Pars er.parseExpression
1586 // package:front_end/src/fasta/parser/parser.dart 2862:13 Pars er.parseExpressionStatement
1587 // package:front_end/src/fasta/parser/parser.dart 2790:14 Pars er.parseStatementX
1588 // package:front_end/src/fasta/parser/parser.dart 2722:20 Pars er.parseStatement
1589 // test/generated/parser_fasta_test.dart 3287:39 Pars erProxy._run
1057 super.test_invalidUnicodeEscape_invalidDigit(); 1590 super.test_invalidUnicodeEscape_invalidDigit();
1058 } 1591 }
1059 1592
1060 @override 1593 @override
1061 @failingTest 1594 @failingTest
1062 void test_invalidUnicodeEscape_tooFewDigits_fixed() { 1595 void test_invalidUnicodeEscape_tooFewDigits_fixed() {
1596 // TODO(brianwilkerson) Does not recover.
1597 // Internal problem: Compiler cannot run without a compiler context.
1598 // Tip: Are calls to the compiler wrapped in CompilerContext.runInContext?
1599 // package:front_end/src/fasta/compiler_context.dart 81:7 Comp ilerContext.current
1600 // package:front_end/src/fasta/command_line_reporting.dart 112:30 shou ldThrowOn
1601 // package:front_end/src/fasta/deprecated_problems.dart 41:7 depr ecated_inputError
1602 // package:front_end/src/fasta/quote.dart 181:5 unes capeCodeUnits.error
1603 // package:front_end/src/fasta/quote.dart 240:54 unes capeCodeUnits
1604 // package:front_end/src/fasta/quote.dart 147:13 unes cape
1605 // package:front_end/src/fasta/quote.dart 135:10 unes capeString
1606 // package:analyzer/src/fasta/ast_builder.dart 159:22 AstB uilder.endLiteralString
1607 // test/generated/parser_fasta_listener.dart 896:14 Forw ardingTestListener.endLiteralString
1608 // package:front_end/src/fasta/parser/parser.dart 3497:14 Pars er.parseSingleLiteralString
1609 // package:front_end/src/fasta/parser/parser.dart 3434:13 Pars er.parseLiteralString
1610 // package:front_end/src/fasta/parser/parser.dart 3133:14 Pars er.parsePrimary
1611 // package:front_end/src/fasta/parser/parser.dart 3097:14 Pars er.parseUnaryExpression
1612 // package:front_end/src/fasta/parser/parser.dart 2968:13 Pars er.parsePrecedenceExpression
1613 // package:front_end/src/fasta/parser/parser.dart 2942:11 Pars er.parseExpression
1614 // package:front_end/src/fasta/parser/parser.dart 2862:13 Pars er.parseExpressionStatement
1615 // package:front_end/src/fasta/parser/parser.dart 2790:14 Pars er.parseStatementX
1616 // package:front_end/src/fasta/parser/parser.dart 2722:20 Pars er.parseStatement
1617 // test/generated/parser_fasta_test.dart 3287:39 Pars erProxy._run
1063 super.test_invalidUnicodeEscape_tooFewDigits_fixed(); 1618 super.test_invalidUnicodeEscape_tooFewDigits_fixed();
1064 } 1619 }
1065 1620
1066 @override 1621 @override
1067 @failingTest 1622 @failingTest
1068 void test_invalidUnicodeEscape_tooFewDigits_variable() { 1623 void test_invalidUnicodeEscape_tooFewDigits_variable() {
1624 // TODO(brianwilkerson) Does not recover.
1625 // Internal problem: Compiler cannot run without a compiler context.
1626 // Tip: Are calls to the compiler wrapped in CompilerContext.runInContext?
1627 // package:front_end/src/fasta/compiler_context.dart 81:7 Comp ilerContext.current
1628 // package:front_end/src/fasta/command_line_reporting.dart 112:30 shou ldThrowOn
1629 // package:front_end/src/fasta/deprecated_problems.dart 41:7 depr ecated_inputError
1630 // package:front_end/src/fasta/quote.dart 181:5 unes capeCodeUnits.error
1631 // package:front_end/src/fasta/quote.dart 235:49 unes capeCodeUnits
1632 // package:front_end/src/fasta/quote.dart 147:13 unes cape
1633 // package:front_end/src/fasta/quote.dart 135:10 unes capeString
1634 // package:analyzer/src/fasta/ast_builder.dart 159:22 AstB uilder.endLiteralString
1635 // test/generated/parser_fasta_listener.dart 896:14 Forw ardingTestListener.endLiteralString
1636 // package:front_end/src/fasta/parser/parser.dart 3497:14 Pars er.parseSingleLiteralString
1637 // package:front_end/src/fasta/parser/parser.dart 3434:13 Pars er.parseLiteralString
1638 // package:front_end/src/fasta/parser/parser.dart 3133:14 Pars er.parsePrimary
1639 // package:front_end/src/fasta/parser/parser.dart 3097:14 Pars er.parseUnaryExpression
1640 // package:front_end/src/fasta/parser/parser.dart 2968:13 Pars er.parsePrecedenceExpression
1641 // package:front_end/src/fasta/parser/parser.dart 2942:11 Pars er.parseExpression
1642 // package:front_end/src/fasta/parser/parser.dart 2862:13 Pars er.parseExpressionStatement
1643 // package:front_end/src/fasta/parser/parser.dart 2790:14 Pars er.parseStatementX
1644 // package:front_end/src/fasta/parser/parser.dart 2722:20 Pars er.parseStatement
1645 // test/generated/parser_fasta_test.dart 3287:39 Pars erProxy._run
1069 super.test_invalidUnicodeEscape_tooFewDigits_variable(); 1646 super.test_invalidUnicodeEscape_tooFewDigits_variable();
1070 } 1647 }
1071 1648
1072 @override 1649 @override
1073 @failingTest 1650 @failingTest
1074 void test_invalidUnicodeEscape_tooManyDigits_variable() { 1651 void test_invalidUnicodeEscape_tooManyDigits_variable() {
1652 // TODO(brianwilkerson) Does not recover.
1653 // Internal problem: Compiler cannot run without a compiler context.
1654 // Tip: Are calls to the compiler wrapped in CompilerContext.runInContext?
1655 // package:front_end/src/fasta/compiler_context.dart 81:7 Comp ilerContext.current
1656 // package:front_end/src/fasta/command_line_reporting.dart 112:30 shou ldThrowOn
1657 // package:front_end/src/fasta/deprecated_problems.dart 41:7 depr ecated_inputError
1658 // package:front_end/src/fasta/quote.dart 181:5 unes capeCodeUnits.error
1659 // package:front_end/src/fasta/quote.dart 251:40 unes capeCodeUnits
1660 // package:front_end/src/fasta/quote.dart 147:13 unes cape
1661 // package:front_end/src/fasta/quote.dart 135:10 unes capeString
1662 // package:analyzer/src/fasta/ast_builder.dart 159:22 AstB uilder.endLiteralString
1663 // test/generated/parser_fasta_listener.dart 896:14 Forw ardingTestListener.endLiteralString
1664 // package:front_end/src/fasta/parser/parser.dart 3497:14 Pars er.parseSingleLiteralString
1665 // package:front_end/src/fasta/parser/parser.dart 3434:13 Pars er.parseLiteralString
1666 // package:front_end/src/fasta/parser/parser.dart 3133:14 Pars er.parsePrimary
1667 // package:front_end/src/fasta/parser/parser.dart 3097:14 Pars er.parseUnaryExpression
1668 // package:front_end/src/fasta/parser/parser.dart 2968:13 Pars er.parsePrecedenceExpression
1669 // package:front_end/src/fasta/parser/parser.dart 2942:11 Pars er.parseExpression
1670 // package:front_end/src/fasta/parser/parser.dart 2862:13 Pars er.parseExpressionStatement
1671 // package:front_end/src/fasta/parser/parser.dart 2790:14 Pars er.parseStatementX
1672 // package:front_end/src/fasta/parser/parser.dart 2722:20 Pars er.parseStatement
1673 // test/generated/parser_fasta_test.dart 3287:39 Pars erProxy._run
1075 super.test_invalidUnicodeEscape_tooManyDigits_variable(); 1674 super.test_invalidUnicodeEscape_tooManyDigits_variable();
1076 } 1675 }
1077 1676
1078 @override 1677 @override
1079 @failingTest 1678 @failingTest
1080 void test_libraryDirectiveNotFirst() { 1679 void test_libraryDirectiveNotFirst() {
1680 // TODO(brianwilkerson) Wrong errors:
1681 // Expected 1 errors of type ParserErrorCode.LIBRARY_DIRECTIVE_NOT_FIRST, fo und 0
1081 super.test_libraryDirectiveNotFirst(); 1682 super.test_libraryDirectiveNotFirst();
1082 } 1683 }
1083 1684
1084 @override 1685 @override
1085 @failingTest 1686 @failingTest
1086 void test_libraryDirectiveNotFirst_afterPart() { 1687 void test_libraryDirectiveNotFirst_afterPart() {
1688 // TODO(brianwilkerson) Wrong errors:
1689 // Expected 1 errors of type ParserErrorCode.LIBRARY_DIRECTIVE_NOT_FIRST, fo und 0
1087 super.test_libraryDirectiveNotFirst_afterPart(); 1690 super.test_libraryDirectiveNotFirst_afterPart();
1088 } 1691 }
1089 1692
1090 @override 1693 @override
1091 @failingTest 1694 @failingTest
1092 void test_localFunctionDeclarationModifier_abstract() { 1695 void test_localFunctionDeclarationModifier_abstract() {
1696 // TODO(brianwilkerson) Wrong errors:
1697 // Expected 1 errors of type ParserErrorCode.LOCAL_FUNCTION_DECLARATION_MODI FIER, found 0
1093 super.test_localFunctionDeclarationModifier_abstract(); 1698 super.test_localFunctionDeclarationModifier_abstract();
1094 } 1699 }
1095 1700
1096 @override 1701 @override
1097 @failingTest 1702 @failingTest
1098 void test_localFunctionDeclarationModifier_external() { 1703 void test_localFunctionDeclarationModifier_external() {
1704 // TODO(brianwilkerson) Wrong errors:
1705 // Expected 1 errors of type ParserErrorCode.LOCAL_FUNCTION_DECLARATION_MODI FIER, found 0
1099 super.test_localFunctionDeclarationModifier_external(); 1706 super.test_localFunctionDeclarationModifier_external();
1100 } 1707 }
1101 1708
1102 @override 1709 @override
1103 @failingTest 1710 @failingTest
1104 void test_localFunctionDeclarationModifier_factory() { 1711 void test_localFunctionDeclarationModifier_factory() {
1712 // TODO(brianwilkerson) Wrong errors:
1713 // Expected 1 errors of type ParserErrorCode.LOCAL_FUNCTION_DECLARATION_MODI FIER, found 0
1105 super.test_localFunctionDeclarationModifier_factory(); 1714 super.test_localFunctionDeclarationModifier_factory();
1106 } 1715 }
1107 1716
1108 @override 1717 @override
1109 @failingTest 1718 @failingTest
1110 void test_localFunctionDeclarationModifier_static() { 1719 void test_localFunctionDeclarationModifier_static() {
1720 // TODO(brianwilkerson) Wrong errors:
1721 // Expected 1 errors of type ParserErrorCode.LOCAL_FUNCTION_DECLARATION_MODI FIER, found 0
1111 super.test_localFunctionDeclarationModifier_static(); 1722 super.test_localFunctionDeclarationModifier_static();
1112 } 1723 }
1113 1724
1114 @override 1725 @override
1115 @failingTest 1726 @failingTest
1116 void test_method_invalidTypeParameterComments() { 1727 void test_method_invalidTypeParameterComments() {
1728 // TODO(brianwilkerson) Does not recover.
1729 // type 'DeclaredSimpleIdentifier' is not a subtype of type 'TypeAnnotatio n' of 'returnType' where
1730 // DeclaredSimpleIdentifier is from package:analyzer/src/dart/ast/ast.dart
1731 // TypeAnnotation is from package:analyzer/dart/ast/ast.dart
1732 //
1733 // package:analyzer/src/fasta/ast_builder.dart 1620:33 AstB uilder.endMethod
1734 // test/generated/parser_fasta_listener.dart 926:14 Forw ardingTestListener.endMethod
1735 // package:front_end/src/fasta/parser/parser.dart 2433:14 Pars er.parseMethod
1736 // package:front_end/src/fasta/parser/parser.dart 2323:11 Pars er.parseMember
1737 // test/generated/parser_fasta_test.dart 3438:39 Pars erProxy._run
1117 super.test_method_invalidTypeParameterComments(); 1738 super.test_method_invalidTypeParameterComments();
1118 } 1739 }
1119 1740
1120 @override 1741 @override
1121 @failingTest 1742 @failingTest
1122 void test_method_invalidTypeParameterExtends() { 1743 void test_method_invalidTypeParameterExtends() {
1744 // TODO(brianwilkerson) Does not recover.
1745 // type 'FormalParameterListImpl' is not a subtype of type 'TypeParameterL ist' of 'typeParameters' where
1746 // FormalParameterListImpl is from package:analyzer/src/dart/ast/ast.dart
1747 // TypeParameterList is from package:analyzer/dart/ast/ast.dart
1748 //
1749 // package:analyzer/src/fasta/ast_builder.dart 1618:40 AstB uilder.endMethod
1750 // test/generated/parser_fasta_listener.dart 926:14 Forw ardingTestListener.endMethod
1751 // package:front_end/src/fasta/parser/parser.dart 2433:14 Pars er.parseMethod
1752 // package:front_end/src/fasta/parser/parser.dart 2323:11 Pars er.parseMember
1753 // test/generated/parser_fasta_test.dart 3438:39 Pars erProxy._run
1123 super.test_method_invalidTypeParameterExtends(); 1754 super.test_method_invalidTypeParameterExtends();
1124 } 1755 }
1125 1756
1126 @override 1757 @override
1127 @failingTest 1758 @failingTest
1128 void test_method_invalidTypeParameterExtendsComment() { 1759 void test_method_invalidTypeParameterExtendsComment() {
1760 // TODO(brianwilkerson) Wrong errors:
1761 // Expected 2 errors of type ParserErrorCode.EXPECTED_TOKEN, found 0;
1762 // 2 errors of type ParserErrorCode.MISSING_IDENTIFIER, found 0;
1763 // 1 errors of type ParserErrorCode.MISSING_FUNCTION_BODY, found 0
1129 super.test_method_invalidTypeParameterExtendsComment(); 1764 super.test_method_invalidTypeParameterExtendsComment();
1130 } 1765 }
1131 1766
1132 @override 1767 @override
1133 @failingTest 1768 @failingTest
1134 void test_method_invalidTypeParameters() { 1769 void test_method_invalidTypeParameters() {
1770 // TODO(brianwilkerson) Does not recover.
1771 // type 'DeclaredSimpleIdentifier' is not a subtype of type 'TypeAnnotatio n' of 'returnType' where
1772 // DeclaredSimpleIdentifier is from package:analyzer/src/dart/ast/ast.dart
1773 // TypeAnnotation is from package:analyzer/dart/ast/ast.dart
1774 //
1775 // package:analyzer/src/fasta/ast_builder.dart 1620:33 AstB uilder.endMethod
1776 // test/generated/parser_fasta_listener.dart 926:14 Forw ardingTestListener.endMethod
1777 // package:front_end/src/fasta/parser/parser.dart 2433:14 Pars er.parseMethod
1778 // package:front_end/src/fasta/parser/parser.dart 2323:11 Pars er.parseMember
1779 // test/generated/parser_fasta_test.dart 3438:39 Pars erProxy._run
1135 super.test_method_invalidTypeParameters(); 1780 super.test_method_invalidTypeParameters();
1136 } 1781 }
1137 1782
1138 @override 1783 @override
1139 @failingTest 1784 @failingTest
1140 void test_missingAssignableSelector_identifiersAssigned() { 1785 void test_missingAssignableSelector_identifiersAssigned() {
1786 // TODO(brianwilkerson) Does not recover.
1787 // Expected: true
1788 // Actual: <false>
1789 //
1790 // package:test expe ct
1791 // test/generated/parser_fasta_test.dart 3439:5 Pars erProxy._run
1141 super.test_missingAssignableSelector_identifiersAssigned(); 1792 super.test_missingAssignableSelector_identifiersAssigned();
1142 } 1793 }
1143 1794
1144 @override 1795 @override
1145 @failingTest 1796 @failingTest
1146 void test_missingAssignableSelector_prefix_minusMinus_literal() { 1797 void test_missingAssignableSelector_prefix_minusMinus_literal() {
1798 // TODO(brianwilkerson) Wrong errors:
1799 // Expected 1 errors of type ParserErrorCode.MISSING_ASSIGNABLE_SELECTOR, fo und 0
1147 super.test_missingAssignableSelector_prefix_minusMinus_literal(); 1800 super.test_missingAssignableSelector_prefix_minusMinus_literal();
1148 } 1801 }
1149 1802
1150 @override 1803 @override
1151 @failingTest 1804 @failingTest
1152 void test_missingAssignableSelector_prefix_plusPlus_literal() { 1805 void test_missingAssignableSelector_prefix_plusPlus_literal() {
1806 // TODO(brianwilkerson) Wrong errors:
1807 // Expected 1 errors of type ParserErrorCode.MISSING_ASSIGNABLE_SELECTOR, fo und 0
1153 super.test_missingAssignableSelector_prefix_plusPlus_literal(); 1808 super.test_missingAssignableSelector_prefix_plusPlus_literal();
1154 } 1809 }
1155 1810
1156 @override 1811 @override
1157 @failingTest 1812 @failingTest
1158 void test_missingAssignableSelector_superPrimaryExpression() { 1813 void test_missingAssignableSelector_superPrimaryExpression() {
1814 // TODO(brianwilkerson) Wrong errors:
1815 // Expected 1 errors of type ParserErrorCode.MISSING_ASSIGNABLE_SELECTOR, fo und 0
1159 super.test_missingAssignableSelector_superPrimaryExpression(); 1816 super.test_missingAssignableSelector_superPrimaryExpression();
1160 } 1817 }
1161 1818
1162 @override 1819 @override
1163 @failingTest 1820 @failingTest
1164 void test_missingAssignableSelector_superPropertyAccessAssigned() { 1821 void test_missingAssignableSelector_superPropertyAccessAssigned() {
1822 // TODO(brianwilkerson) Does not recover.
1823 // Expected: true
1824 // Actual: <false>
1825 //
1826 // package:test expe ct
1827 // test/generated/parser_fasta_test.dart 3488:5 Pars erProxy._run
1165 super.test_missingAssignableSelector_superPropertyAccessAssigned(); 1828 super.test_missingAssignableSelector_superPropertyAccessAssigned();
1166 } 1829 }
1167 1830
1168 @override 1831 @override
1169 @failingTest 1832 @failingTest
1170 void test_missingCatchOrFinally() { 1833 void test_missingCatchOrFinally() {
1834 // TODO(brianwilkerson) Wrong errors:
1835 // Expected 1 errors of type ParserErrorCode.MISSING_CATCH_OR_FINALLY, found 0
1171 super.test_missingCatchOrFinally(); 1836 super.test_missingCatchOrFinally();
1172 } 1837 }
1173 1838
1174 @override 1839 @override
1175 @failingTest 1840 @failingTest
1176 void test_missingClassBody() { 1841 void test_missingClassBody() {
1842 // TODO(brianwilkerson) Wrong errors:
1843 // Expected 1 errors of type ParserErrorCode.MISSING_CLASS_BODY, found 0
1177 super.test_missingClassBody(); 1844 super.test_missingClassBody();
1178 } 1845 }
1179 1846
1180 @override 1847 @override
1181 @failingTest 1848 @failingTest
1182 void test_missingClosingParenthesis() { 1849 void test_missingClosingParenthesis() {
1850 // TODO(brianwilkerson) Wrong errors:
1851 // Expected 1 errors of type ScannerErrorCode.EXPECTED_TOKEN, found 0
1183 super.test_missingClosingParenthesis(); 1852 super.test_missingClosingParenthesis();
1184 } 1853 }
1185 1854
1186 @override 1855 @override
1187 @failingTest 1856 @failingTest
1188 void test_missingConstFinalVarOrType_static() { 1857 void test_missingConstFinalVarOrType_static() {
1858 // TODO(brianwilkerson) Wrong errors:
1859 // Expected 1 errors of type ParserErrorCode.MISSING_CONST_FINAL_VAR_OR_TYPE , found 0;
1860 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (19)
1189 super.test_missingConstFinalVarOrType_static(); 1861 super.test_missingConstFinalVarOrType_static();
1190 } 1862 }
1191 1863
1192 @override 1864 @override
1193 @failingTest 1865 @failingTest
1194 void test_missingConstFinalVarOrType_topLevel() { 1866 void test_missingConstFinalVarOrType_topLevel() {
1867 // TODO(brianwilkerson) Test uses undefined method (parseFinalConstVarOrType ).
1195 super.test_missingConstFinalVarOrType_topLevel(); 1868 super.test_missingConstFinalVarOrType_topLevel();
1196 } 1869 }
1197 1870
1198 @override 1871 @override
1199 @failingTest 1872 @failingTest
1200 void test_missingEnumBody() { 1873 void test_missingEnumBody() {
1874 // TODO(brianwilkerson) Wrong errors:
1875 // Expected 1 errors of type ParserErrorCode.MISSING_ENUM_BODY, found 0
1201 super.test_missingEnumBody(); 1876 super.test_missingEnumBody();
1202 } 1877 }
1203 1878
1204 @override 1879 @override
1205 @failingTest 1880 @failingTest
1206 void test_missingExpressionInThrow_withCascade() { 1881 void test_missingExpressionInThrow() {
1207 super.test_missingExpressionInThrow_withCascade(); 1882 // TODO(brianwilkerson) Does not recover.
1208 } 1883 // type 'RethrowExpressionImpl' is not a subtype of type 'ThrowExpression' of 'expression' where
1209 1884 // RethrowExpressionImpl is from package:analyzer/src/dart/ast/ast.dart
1210 @override 1885 // ThrowExpression is from package:analyzer/dart/ast/ast.dart
1211 @failingTest 1886 //
1212 void test_missingExpressionInThrow_withoutCascade() { 1887 // test/generated/parser_test.dart 3492:59 Fast aParserTestCase&ErrorParserTestMixin.test_missingExpressionInThrow_withCascade
1213 super.test_missingExpressionInThrow_withoutCascade(); 1888 super.test_missingExpressionInThrow();
1214 } 1889 }
1215 1890
1216 @override 1891 @override
1217 @failingTest 1892 @failingTest
1218 void test_missingFunctionBody_emptyNotAllowed() { 1893 void test_missingFunctionBody_emptyNotAllowed() {
1894 // TODO(brianwilkerson) Does not recover.
1895 // 'package:front_end/src/fasta/source/stack_listener.dart': Failed assert ion: line 311 pos 12: 'arrayLength > 0': is not true.
1896 // dart:core _Ass ertionError._throwNew
1897 // package:front_end/src/fasta/source/stack_listener.dart 311:12 Stac k.pop
1898 // package:front_end/src/fasta/source/stack_listener.dart 95:25 Stac kListener.pop
1899 // package:analyzer/src/fasta/ast_builder.dart 269:5 AstB uilder.handleEmptyFunctionBody
1900 // test/generated/parser_fasta_listener.dart 1171:14 Forw ardingTestListener.handleEmptyFunctionBody
1901 // package:front_end/src/fasta/parser/parser.dart 2614:16 Pars er.parseFunctionBody
1902 // test/generated/parser_fasta_test.dart 3439:20 Pars erProxy.parseFunctionBody.<fn>.<fn>
1903 // test/generated/parser_fasta_test.dart 3503:39 Pars erProxy._run
1219 super.test_missingFunctionBody_emptyNotAllowed(); 1904 super.test_missingFunctionBody_emptyNotAllowed();
1220 } 1905 }
1221 1906
1222 @override 1907 @override
1223 @failingTest 1908 @failingTest
1224 void test_missingFunctionBody_invalid() { 1909 void test_missingFunctionBody_invalid() {
1910 // TODO(brianwilkerson) Does not recover.
1911 // Expected: an object with length of <1>
1912 // Actual: <Instance of 'Stack'>
1913 // Which: has length of <0>
1914 //
1915 // package:test expe ct
1916 // test/generated/parser_fasta_test.dart 3506:7 Pars erProxy._run
1225 super.test_missingFunctionBody_invalid(); 1917 super.test_missingFunctionBody_invalid();
1226 } 1918 }
1227 1919
1228 @override 1920 @override
1229 @failingTest 1921 @failingTest
1230 void test_missingFunctionParameters_local_nonVoid_block() { 1922 void test_missingFunctionParameters_local_nonVoid_block() {
1923 // TODO(brianwilkerson) Wrong errors:
1924 // Expected 1 errors of type ParserErrorCode.MISSING_FUNCTION_PARAMETERS, fo und 0
1231 super.test_missingFunctionParameters_local_nonVoid_block(); 1925 super.test_missingFunctionParameters_local_nonVoid_block();
1232 } 1926 }
1233 1927
1234 @override 1928 @override
1235 @failingTest 1929 @failingTest
1236 void test_missingFunctionParameters_local_nonVoid_expression() { 1930 void test_missingFunctionParameters_local_nonVoid_expression() {
1931 // TODO(brianwilkerson) Wrong errors:
1932 // Expected 1 errors of type ParserErrorCode.MISSING_FUNCTION_PARAMETERS, fo und 0
1237 super.test_missingFunctionParameters_local_nonVoid_expression(); 1933 super.test_missingFunctionParameters_local_nonVoid_expression();
1238 } 1934 }
1239 1935
1240 @override 1936 @override
1241 @failingTest 1937 @failingTest
1242 void test_missingFunctionParameters_local_void_block() { 1938 void test_missingFunctionParameters_local_void_block() {
1939 // TODO(brianwilkerson) Wrong errors:
1940 // Expected 1 errors of type ParserErrorCode.MISSING_FUNCTION_PARAMETERS, fo und 0
1243 super.test_missingFunctionParameters_local_void_block(); 1941 super.test_missingFunctionParameters_local_void_block();
1244 } 1942 }
1245 1943
1246 @override 1944 @override
1247 @failingTest 1945 @failingTest
1248 void test_missingFunctionParameters_local_void_expression() { 1946 void test_missingFunctionParameters_local_void_expression() {
1947 // TODO(brianwilkerson) Wrong errors:
1948 // Expected 1 errors of type ParserErrorCode.MISSING_FUNCTION_PARAMETERS, fo und 0
1249 super.test_missingFunctionParameters_local_void_expression(); 1949 super.test_missingFunctionParameters_local_void_expression();
1250 } 1950 }
1251 1951
1252 @override 1952 @override
1253 @failingTest 1953 @failingTest
1254 void test_missingFunctionParameters_topLevel_nonVoid_block() { 1954 void test_missingFunctionParameters_topLevel_nonVoid_block() {
1955 // TODO(brianwilkerson) Wrong errors:
1956 // Expected 1 errors of type ParserErrorCode.MISSING_FUNCTION_PARAMETERS, fo und 0
1255 super.test_missingFunctionParameters_topLevel_nonVoid_block(); 1957 super.test_missingFunctionParameters_topLevel_nonVoid_block();
1256 } 1958 }
1257 1959
1258 @override 1960 @override
1259 @failingTest 1961 @failingTest
1260 void test_missingFunctionParameters_topLevel_nonVoid_expression() { 1962 void test_missingFunctionParameters_topLevel_nonVoid_expression() {
1963 // TODO(brianwilkerson) Wrong errors:
1964 // Expected 1 errors of type ParserErrorCode.MISSING_FUNCTION_PARAMETERS, fo und 0
1261 super.test_missingFunctionParameters_topLevel_nonVoid_expression(); 1965 super.test_missingFunctionParameters_topLevel_nonVoid_expression();
1262 } 1966 }
1263 1967
1264 @override 1968 @override
1265 @failingTest 1969 @failingTest
1266 void test_missingFunctionParameters_topLevel_void_block() { 1970 void test_missingFunctionParameters_topLevel_void_block() {
1971 // TODO(brianwilkerson) Wrong errors:
1972 // Expected 1 errors of type ParserErrorCode.MISSING_FUNCTION_PARAMETERS, fo und 0
1267 super.test_missingFunctionParameters_topLevel_void_block(); 1973 super.test_missingFunctionParameters_topLevel_void_block();
1268 } 1974 }
1269 1975
1270 @override 1976 @override
1271 @failingTest 1977 @failingTest
1272 void test_missingFunctionParameters_topLevel_void_expression() { 1978 void test_missingFunctionParameters_topLevel_void_expression() {
1979 // TODO(brianwilkerson) Wrong errors:
1980 // Expected 1 errors of type ParserErrorCode.MISSING_FUNCTION_PARAMETERS, fo und 0
1273 super.test_missingFunctionParameters_topLevel_void_expression(); 1981 super.test_missingFunctionParameters_topLevel_void_expression();
1274 } 1982 }
1275 1983
1276 @override 1984 @override
1277 @failingTest 1985 @failingTest
1278 void test_missingIdentifier_afterOperator() { 1986 void test_missingIdentifier_afterOperator() {
1987 // TODO(brianwilkerson) Does not recover.
1988 // 'package:front_end/src/fasta/source/stack_listener.dart': Failed assert ion: line 311 pos 12: 'arrayLength > 0': is not true.
1989 // dart:core _Ass ertionError._throwNew
1990 // package:front_end/src/fasta/source/stack_listener.dart 311:12 Stac k.pop
1991 // package:front_end/src/fasta/source/stack_listener.dart 95:25 Stac kListener.pop
1992 // package:analyzer/src/fasta/ast_builder.dart 345:25 AstB uilder.handleBinaryExpression
1993 // test/generated/parser_fasta_listener.dart 1127:14 Forw ardingTestListener.handleBinaryExpression
1994 // package:front_end/src/fasta/parser/parser.dart 3016:20 Pars er.parsePrecedenceExpression
1995 // package:front_end/src/fasta/parser/parser.dart 2942:11 Pars er.parseExpression
1996 // test/generated/parser_fasta_test.dart 3544:39 Pars erProxy._run
1279 super.test_missingIdentifier_afterOperator(); 1997 super.test_missingIdentifier_afterOperator();
1280 } 1998 }
1281 1999
1282 @override 2000 @override
1283 @failingTest 2001 @failingTest
1284 void test_missingIdentifier_beforeClosingCurly() { 2002 void test_missingIdentifier_beforeClosingCurly() {
2003 // TODO(brianwilkerson) Does not recover.
2004 // Expected: an object with length of <1>
2005 // Actual: <Instance of 'Stack'>
2006 // Which: has length of <2>
2007 //
2008 // package:test expe ct
2009 // test/generated/parser_fasta_test.dart 3547:7 Pars erProxy._run
1285 super.test_missingIdentifier_beforeClosingCurly(); 2010 super.test_missingIdentifier_beforeClosingCurly();
1286 } 2011 }
1287 2012
1288 @override 2013 @override
1289 @failingTest 2014 @failingTest
1290 void test_missingIdentifier_inEnum() { 2015 void test_missingIdentifier_inEnum() {
2016 // TODO(brianwilkerson) Wrong errors:
2017 // Expected 1 errors of type ParserErrorCode.MISSING_IDENTIFIER, found 0
1291 super.test_missingIdentifier_inEnum(); 2018 super.test_missingIdentifier_inEnum();
1292 } 2019 }
1293 2020
1294 @override 2021 @override
1295 @failingTest 2022 @failingTest
1296 void test_missingIdentifier_inSymbol_afterPeriod() { 2023 void test_missingIdentifier_inSymbol_afterPeriod() {
2024 // TODO(brianwilkerson) Wrong errors:
2025 // Expected 1 errors of type ParserErrorCode.MISSING_IDENTIFIER, found 0
1297 super.test_missingIdentifier_inSymbol_afterPeriod(); 2026 super.test_missingIdentifier_inSymbol_afterPeriod();
1298 } 2027 }
1299 2028
1300 @override 2029 @override
1301 @failingTest 2030 @failingTest
1302 void test_missingIdentifier_inSymbol_first() { 2031 void test_missingIdentifier_inSymbol_first() {
2032 // TODO(brianwilkerson) Wrong errors:
2033 // Expected 1 errors of type ParserErrorCode.MISSING_IDENTIFIER, found 0
1303 super.test_missingIdentifier_inSymbol_first(); 2034 super.test_missingIdentifier_inSymbol_first();
1304 } 2035 }
1305 2036
1306 @override 2037 @override
1307 @failingTest 2038 @failingTest
1308 void test_missingIdentifier_number() {
1309 super.test_missingIdentifier_number();
1310 }
1311
1312 @override
1313 @failingTest
1314 void test_missingIdentifierForParameterGroup() { 2039 void test_missingIdentifierForParameterGroup() {
2040 // TODO(brianwilkerson) Wrong errors:
2041 // Expected 1 errors of type ParserErrorCode.MISSING_IDENTIFIER, found 0
1315 super.test_missingIdentifierForParameterGroup(); 2042 super.test_missingIdentifierForParameterGroup();
1316 } 2043 }
1317 2044
1318 @override 2045 @override
1319 @failingTest 2046 @failingTest
1320 void test_missingKeywordOperator() { 2047 void test_missingKeywordOperator() {
2048 // TODO(brianwilkerson) Does not recover.
2049 // type 'DeclaredSimpleIdentifier' is not a subtype of type 'TypeAnnotatio n' of 'returnType' where
2050 // DeclaredSimpleIdentifier is from package:analyzer/src/dart/ast/ast.dart
2051 // TypeAnnotation is from package:analyzer/dart/ast/ast.dart
2052 //
2053 // package:analyzer/src/fasta/ast_builder.dart 1620:33 AstB uilder.endMethod
2054 // test/generated/parser_fasta_listener.dart 926:14 Forw ardingTestListener.endMethod
2055 // package:front_end/src/fasta/parser/parser.dart 2433:14 Pars er.parseMethod
2056 // package:front_end/src/fasta/parser/parser.dart 2323:11 Pars er.parseMember
2057 // test/generated/parser_fasta_test.dart 3544:39 Pars erProxy._run
1321 super.test_missingKeywordOperator(); 2058 super.test_missingKeywordOperator();
1322 } 2059 }
1323 2060
1324 @override 2061 @override
1325 @failingTest 2062 @failingTest
1326 void test_missingKeywordOperator_parseClassMember() { 2063 void test_missingKeywordOperator_parseClassMember() {
2064 // TODO(brianwilkerson) Does not recover.
2065 // type 'DeclaredSimpleIdentifier' is not a subtype of type 'TypeAnnotatio n' of 'returnType' where
2066 // DeclaredSimpleIdentifier is from package:analyzer/src/dart/ast/ast.dart
2067 // TypeAnnotation is from package:analyzer/dart/ast/ast.dart
2068 //
2069 // package:analyzer/src/fasta/ast_builder.dart 1620:33 AstB uilder.endMethod
2070 // test/generated/parser_fasta_listener.dart 926:14 Forw ardingTestListener.endMethod
2071 // package:front_end/src/fasta/parser/parser.dart 2433:14 Pars er.parseMethod
2072 // package:front_end/src/fasta/parser/parser.dart 2323:11 Pars er.parseMember
2073 // test/generated/parser_fasta_test.dart 3544:39 Pars erProxy._run
1327 super.test_missingKeywordOperator_parseClassMember(); 2074 super.test_missingKeywordOperator_parseClassMember();
1328 } 2075 }
1329 2076
1330 @override 2077 @override
1331 @failingTest 2078 @failingTest
1332 void test_missingKeywordOperator_parseClassMember_afterTypeName() { 2079 void test_missingKeywordOperator_parseClassMember_afterTypeName() {
2080 // TODO(brianwilkerson) Does not recover.
2081 // type 'DeclaredSimpleIdentifier' is not a subtype of type 'TypeAnnotatio n' of 'returnType' where
2082 // DeclaredSimpleIdentifier is from package:analyzer/src/dart/ast/ast.dart
2083 // TypeAnnotation is from package:analyzer/dart/ast/ast.dart
2084 //
2085 // package:analyzer/src/fasta/ast_builder.dart 1620:33 AstB uilder.endMethod
2086 // test/generated/parser_fasta_listener.dart 926:14 Forw ardingTestListener.endMethod
2087 // package:front_end/src/fasta/parser/parser.dart 2433:14 Pars er.parseMethod
2088 // package:front_end/src/fasta/parser/parser.dart 2323:11 Pars er.parseMember
2089 // test/generated/parser_fasta_test.dart 3544:39 Pars erProxy._run
1333 super.test_missingKeywordOperator_parseClassMember_afterTypeName(); 2090 super.test_missingKeywordOperator_parseClassMember_afterTypeName();
1334 } 2091 }
1335 2092
1336 @override 2093 @override
1337 @failingTest 2094 @failingTest
1338 void test_missingKeywordOperator_parseClassMember_afterVoid() { 2095 void test_missingKeywordOperator_parseClassMember_afterVoid() {
2096 // TODO(brianwilkerson) Does not recover.
2097 // type 'DeclaredSimpleIdentifier' is not a subtype of type 'TypeAnnotatio n' of 'returnType' where
2098 // DeclaredSimpleIdentifier is from package:analyzer/src/dart/ast/ast.dart
2099 // TypeAnnotation is from package:analyzer/dart/ast/ast.dart
2100 //
2101 // package:analyzer/src/fasta/ast_builder.dart 1620:33 AstB uilder.endMethod
2102 // test/generated/parser_fasta_listener.dart 926:14 Forw ardingTestListener.endMethod
2103 // package:front_end/src/fasta/parser/parser.dart 2433:14 Pars er.parseMethod
2104 // package:front_end/src/fasta/parser/parser.dart 2323:11 Pars er.parseMember
2105 // test/generated/parser_fasta_test.dart 3593:39 Pars erProxy._run
1339 super.test_missingKeywordOperator_parseClassMember_afterVoid(); 2106 super.test_missingKeywordOperator_parseClassMember_afterVoid();
1340 } 2107 }
1341 2108
1342 @override 2109 @override
1343 @failingTest 2110 @failingTest
1344 void test_missingMethodParameters_void_block() { 2111 void test_missingMethodParameters_void_block() {
2112 // TODO(brianwilkerson) Does not recover.
2113 // Expected: true
2114 // Actual: <false>
2115 //
2116 // package:test expe ct
2117 // test/generated/parser_fasta_test.dart 3594:5 Pars erProxy._run
1345 super.test_missingMethodParameters_void_block(); 2118 super.test_missingMethodParameters_void_block();
1346 } 2119 }
1347 2120
1348 @override 2121 @override
1349 @failingTest 2122 @failingTest
1350 void test_missingMethodParameters_void_expression() { 2123 void test_missingMethodParameters_void_expression() {
2124 // TODO(brianwilkerson) Does not recover.
2125 // Expected: true
2126 // Actual: <false>
2127 //
2128 // package:test expe ct
2129 // test/generated/parser_fasta_test.dart 3594:5 Pars erProxy._run
1351 super.test_missingMethodParameters_void_expression(); 2130 super.test_missingMethodParameters_void_expression();
1352 } 2131 }
1353 2132
1354 @override 2133 @override
1355 @failingTest 2134 @failingTest
1356 void test_missingNameForNamedParameter_colon() { 2135 void test_missingNameForNamedParameter_colon() {
2136 // TODO(brianwilkerson) Wrong errors:
2137 // Expected 1 errors of type ParserErrorCode.DEFAULT_VALUE_IN_FUNCTION_TYPE, found 0;
2138 // 1 errors of type ParserErrorCode.MISSING_NAME_FOR_NAMED_PARAMETER, found 0
1357 super.test_missingNameForNamedParameter_colon(); 2139 super.test_missingNameForNamedParameter_colon();
1358 } 2140 }
1359 2141
1360 @override 2142 @override
1361 @failingTest 2143 @failingTest
1362 void test_missingNameForNamedParameter_equals() { 2144 void test_missingNameForNamedParameter_equals() {
2145 // TODO(brianwilkerson) Wrong errors:
2146 // Expected 1 errors of type ParserErrorCode.DEFAULT_VALUE_IN_FUNCTION_TYPE, found 0;
2147 // 1 errors of type ParserErrorCode.MISSING_NAME_FOR_NAMED_PARAMETER, found 0
1363 super.test_missingNameForNamedParameter_equals(); 2148 super.test_missingNameForNamedParameter_equals();
1364 } 2149 }
1365 2150
1366 @override 2151 @override
1367 @failingTest 2152 @failingTest
1368 void test_missingNameForNamedParameter_noDefault() { 2153 void test_missingNameForNamedParameter_noDefault() {
2154 // TODO(brianwilkerson) Wrong errors:
2155 // Expected 1 errors of type ParserErrorCode.MISSING_NAME_FOR_NAMED_PARAMETE R, found 0
1369 super.test_missingNameForNamedParameter_noDefault(); 2156 super.test_missingNameForNamedParameter_noDefault();
1370 } 2157 }
1371 2158
1372 @override 2159 @override
1373 @failingTest 2160 @failingTest
1374 void test_missingNameInLibraryDirective() { 2161 void test_missingNameInLibraryDirective() {
2162 // TODO(brianwilkerson) Wrong errors:
2163 // Expected 1 errors of type ParserErrorCode.MISSING_NAME_IN_LIBRARY_DIRECTI VE, found 0
1375 super.test_missingNameInLibraryDirective(); 2164 super.test_missingNameInLibraryDirective();
1376 } 2165 }
1377 2166
1378 @override 2167 @override
1379 @failingTest 2168 @failingTest
1380 void test_missingNameInPartOfDirective() { 2169 void test_missingNameInPartOfDirective() {
2170 // TODO(brianwilkerson) Does not recover.
2171 // type 'KeywordToken' is not a subtype of type 'Comment' of 'comment' whe re
2172 // KeywordToken is from package:front_end/src/scanner/token.dart
2173 // Comment is from package:analyzer/dart/ast/ast.dart
2174 //
2175 // package:analyzer/src/fasta/ast_builder.dart 1457:23 AstB uilder.endPartOf
2176 // package:front_end/src/fasta/parser/parser.dart 499:14 Pars er.parsePartOf
2177 // package:front_end/src/fasta/parser/parser.dart 467:14 Pars er.parsePartOrPartOf
2178 // package:front_end/src/fasta/parser/parser.dart 296:14 Pars er._parseTopLevelDeclaration
2179 // package:front_end/src/fasta/parser/parser.dart 263:13 Pars er.parseTopLevelDeclaration
2180 // package:front_end/src/fasta/parser/parser.dart 252:15 Pars er.parseUnit
2181 // package:analyzer/src/generated/parser_fasta.dart 77:33 _Par ser2.parseCompilationUnit2
2182 // package:analyzer/src/generated/parser_fasta.dart 72:12 _Par ser2.parseCompilationUnit
2183 // test/generated/parser_fasta_test.dart 3016:35 Fast aParserTestCase.parseCompilationUnit
1381 super.test_missingNameInPartOfDirective(); 2184 super.test_missingNameInPartOfDirective();
1382 } 2185 }
1383 2186
1384 @override 2187 @override
1385 @failingTest 2188 @failingTest
1386 void test_missingPrefixInDeferredImport() { 2189 void test_missingPrefixInDeferredImport() {
2190 // TODO(brianwilkerson) Wrong errors:
2191 // Expected 1 errors of type ParserErrorCode.MISSING_PREFIX_IN_DEFERRED_IMPO RT, found 0
1387 super.test_missingPrefixInDeferredImport(); 2192 super.test_missingPrefixInDeferredImport();
1388 } 2193 }
1389 2194
1390 @override 2195 @override
1391 @failingTest 2196 @failingTest
1392 void test_missingStartAfterSync() { 2197 void test_missingStartAfterSync() {
2198 // TODO(brianwilkerson) Does not recover.
2199 // Expected: an object with length of <1>
2200 // Actual: <Instance of 'Stack'>
2201 // Which: has length of <0>
2202 //
2203 // package:test expe ct
2204 // test/generated/parser_fasta_test.dart 3596:7 Pars erProxy._run
1393 super.test_missingStartAfterSync(); 2205 super.test_missingStartAfterSync();
1394 } 2206 }
1395 2207
1396 @override 2208 @override
1397 @failingTest 2209 @failingTest
1398 void test_missingStatement() { 2210 void test_missingStatement() {
2211 // TODO(brianwilkerson) Does not recover.
2212 // 'package:front_end/src/fasta/source/stack_listener.dart': Failed assert ion: line 311 pos 12: 'arrayLength > 0': is not true.
2213 // dart:core _Ass ertionError._throwNew
2214 // package:front_end/src/fasta/source/stack_listener.dart 311:12 Stac k.pop
2215 // package:front_end/src/fasta/source/stack_listener.dart 95:25 Stac kListener.pop
2216 // package:analyzer/src/fasta/ast_builder.dart 262:34 AstB uilder.endExpressionStatement
2217 // test/generated/parser_fasta_listener.dart 724:14 Forw ardingTestListener.endExpressionStatement
2218 // package:front_end/src/fasta/parser/parser.dart 2863:14 Pars er.parseExpressionStatement
2219 // package:front_end/src/fasta/parser/parser.dart 2790:14 Pars er.parseStatementX
2220 // package:front_end/src/fasta/parser/parser.dart 2722:20 Pars er.parseStatement
2221 // test/generated/parser_fasta_test.dart 3640:39 Pars erProxy._run
1399 super.test_missingStatement(); 2222 super.test_missingStatement();
1400 } 2223 }
1401 2224
1402 @override 2225 @override
1403 @failingTest 2226 @failingTest
1404 void test_missingStatement_afterVoid() { 2227 void test_missingStatement_afterVoid() {
2228 // TODO(brianwilkerson) Wrong errors:
2229 // Expected 1 errors of type ParserErrorCode.MISSING_STATEMENT, found 0
1405 super.test_missingStatement_afterVoid(); 2230 super.test_missingStatement_afterVoid();
1406 } 2231 }
1407 2232
1408 @override 2233 @override
1409 @failingTest 2234 @failingTest
1410 void test_missingTerminatorForParameterGroup_named() { 2235 void test_missingTerminatorForParameterGroup_named() {
2236 // TODO(brianwilkerson) Wrong errors:
2237 // Expected 1 errors of type ScannerErrorCode.EXPECTED_TOKEN, found 0
1411 super.test_missingTerminatorForParameterGroup_named(); 2238 super.test_missingTerminatorForParameterGroup_named();
1412 } 2239 }
1413 2240
1414 @override 2241 @override
1415 @failingTest 2242 @failingTest
1416 void test_missingTerminatorForParameterGroup_optional() { 2243 void test_missingTerminatorForParameterGroup_optional() {
2244 // TODO(brianwilkerson) Wrong errors:
2245 // Expected 1 errors of type ScannerErrorCode.EXPECTED_TOKEN, found 0
1417 super.test_missingTerminatorForParameterGroup_optional(); 2246 super.test_missingTerminatorForParameterGroup_optional();
1418 } 2247 }
1419 2248
1420 @override 2249 @override
1421 @failingTest 2250 @failingTest
1422 void test_missingTypedefParameters_nonVoid() { 2251 void test_missingTypedefParameters_nonVoid() {
2252 // TODO(brianwilkerson) Wrong errors:
2253 // Expected 1 errors of type ParserErrorCode.MISSING_TYPEDEF_PARAMETERS, fou nd 0
1423 super.test_missingTypedefParameters_nonVoid(); 2254 super.test_missingTypedefParameters_nonVoid();
1424 } 2255 }
1425 2256
1426 @override 2257 @override
1427 @failingTest 2258 @failingTest
1428 void test_missingTypedefParameters_typeParameters() { 2259 void test_missingTypedefParameters_typeParameters() {
2260 // TODO(brianwilkerson) Wrong errors:
2261 // Expected 1 errors of type ParserErrorCode.MISSING_TYPEDEF_PARAMETERS, fou nd 0
1429 super.test_missingTypedefParameters_typeParameters(); 2262 super.test_missingTypedefParameters_typeParameters();
1430 } 2263 }
1431 2264
1432 @override 2265 @override
1433 @failingTest 2266 @failingTest
1434 void test_missingTypedefParameters_void() { 2267 void test_missingTypedefParameters_void() {
2268 // TODO(brianwilkerson) Wrong errors:
2269 // Expected 1 errors of type ParserErrorCode.MISSING_TYPEDEF_PARAMETERS, fou nd 0
1435 super.test_missingTypedefParameters_void(); 2270 super.test_missingTypedefParameters_void();
1436 } 2271 }
1437 2272
1438 @override 2273 @override
1439 @failingTest 2274 @failingTest
1440 void test_missingVariableInForEach() { 2275 void test_missingVariableInForEach() {
2276 // TODO(brianwilkerson) Does not recover.
2277 // type 'BinaryExpressionImpl' is not a subtype of type 'VariableDeclarati onStatement' in type cast where
2278 // BinaryExpressionImpl is from package:analyzer/src/dart/ast/ast.dart
2279 // VariableDeclarationStatement is from package:analyzer/dart/ast/ast.dart
2280 //
2281 // dart:core Obje ct._as
2282 // package:analyzer/src/fasta/ast_builder.dart 797:45 AstB uilder.endForIn
2283 // test/generated/parser_fasta_listener.dart 751:14 Forw ardingTestListener.endForIn
2284 // package:front_end/src/fasta/parser/parser.dart 3755:14 Pars er.parseForInRest
2285 // package:front_end/src/fasta/parser/parser.dart 3695:14 Pars er.parseForStatement
2286 // package:front_end/src/fasta/parser/parser.dart 2745:14 Pars er.parseStatementX
2287 // package:front_end/src/fasta/parser/parser.dart 2722:20 Pars er.parseStatement
2288 // test/generated/parser_fasta_test.dart 3671:39 Pars erProxy._run
1441 super.test_missingVariableInForEach(); 2289 super.test_missingVariableInForEach();
1442 } 2290 }
1443 2291
1444 @override 2292 @override
1445 @failingTest 2293 @failingTest
1446 void test_mixedParameterGroups_namedPositional() { 2294 void test_mixedParameterGroups_namedPositional() {
2295 // TODO(brianwilkerson) Wrong errors:
2296 // Expected 1 errors of type ParserErrorCode.MIXED_PARAMETER_GROUPS, found 0
1447 super.test_mixedParameterGroups_namedPositional(); 2297 super.test_mixedParameterGroups_namedPositional();
1448 } 2298 }
1449 2299
1450 @override 2300 @override
1451 @failingTest 2301 @failingTest
1452 void test_mixedParameterGroups_positionalNamed() { 2302 void test_mixedParameterGroups_positionalNamed() {
2303 // TODO(brianwilkerson) Wrong errors:
2304 // Expected 1 errors of type ParserErrorCode.MIXED_PARAMETER_GROUPS, found 0
1453 super.test_mixedParameterGroups_positionalNamed(); 2305 super.test_mixedParameterGroups_positionalNamed();
1454 } 2306 }
1455 2307
1456 @override 2308 @override
1457 @failingTest 2309 @failingTest
1458 void test_mixin_application_lacks_with_clause() { 2310 void test_mixin_application_lacks_with_clause() {
2311 // TODO(brianwilkerson) Wrong errors:
2312 // Expected 1 errors of type ParserErrorCode.EXPECTED_TOKEN, found 0
1459 super.test_mixin_application_lacks_with_clause(); 2313 super.test_mixin_application_lacks_with_clause();
1460 } 2314 }
1461 2315
1462 @override 2316 @override
1463 @failingTest 2317 @failingTest
1464 void test_multipleExtendsClauses() { 2318 void test_multipleExtendsClauses() {
2319 // TODO(brianwilkerson) Wrong errors:
2320 // Expected 1 errors of type ParserErrorCode.MULTIPLE_EXTENDS_CLAUSES, found 0
1465 super.test_multipleExtendsClauses(); 2321 super.test_multipleExtendsClauses();
1466 } 2322 }
1467 2323
1468 @override 2324 @override
1469 @failingTest 2325 @failingTest
1470 void test_multipleImplementsClauses() { 2326 void test_multipleImplementsClauses() {
2327 // TODO(brianwilkerson) Wrong errors:
2328 // Expected 1 errors of type ParserErrorCode.MULTIPLE_IMPLEMENTS_CLAUSES, fo und 0
1471 super.test_multipleImplementsClauses(); 2329 super.test_multipleImplementsClauses();
1472 } 2330 }
1473 2331
1474 @override 2332 @override
1475 @failingTest 2333 @failingTest
1476 void test_multipleLibraryDirectives() { 2334 void test_multipleLibraryDirectives() {
2335 // TODO(brianwilkerson) Wrong errors:
2336 // Expected 1 errors of type ParserErrorCode.MULTIPLE_LIBRARY_DIRECTIVES, fo und 0
1477 super.test_multipleLibraryDirectives(); 2337 super.test_multipleLibraryDirectives();
1478 } 2338 }
1479 2339
1480 @override 2340 @override
1481 @failingTest 2341 @failingTest
1482 void test_multipleNamedParameterGroups() { 2342 void test_multipleNamedParameterGroups() {
2343 // TODO(brianwilkerson) Wrong errors:
2344 // Expected 1 errors of type ParserErrorCode.MULTIPLE_NAMED_PARAMETER_GROUPS , found 0
1483 super.test_multipleNamedParameterGroups(); 2345 super.test_multipleNamedParameterGroups();
1484 } 2346 }
1485 2347
1486 @override 2348 @override
1487 @failingTest 2349 @failingTest
1488 void test_multiplePartOfDirectives() { 2350 void test_multiplePartOfDirectives() {
2351 // TODO(brianwilkerson) Wrong errors:
2352 // Expected 1 errors of type ParserErrorCode.MULTIPLE_PART_OF_DIRECTIVES, fo und 0
1489 super.test_multiplePartOfDirectives(); 2353 super.test_multiplePartOfDirectives();
1490 } 2354 }
1491 2355
1492 @override 2356 @override
1493 @failingTest 2357 @failingTest
1494 void test_multiplePositionalParameterGroups() { 2358 void test_multiplePositionalParameterGroups() {
2359 // TODO(brianwilkerson) Wrong errors:
2360 // Expected 1 errors of type ParserErrorCode.MULTIPLE_POSITIONAL_PARAMETER_G ROUPS, found 0
1495 super.test_multiplePositionalParameterGroups(); 2361 super.test_multiplePositionalParameterGroups();
1496 } 2362 }
1497 2363
1498 @override 2364 @override
1499 @failingTest 2365 @failingTest
1500 void test_multipleVariablesInForEach() { 2366 void test_multipleVariablesInForEach() {
2367 // TODO(brianwilkerson) Does not recover.
2368 // Bad state: Too many elements
2369 // dart:collection Obje ct&ListMixin.single
2370 // package:analyzer/src/fasta/ast_builder.dart 808:38 AstB uilder.endForIn
2371 // test/generated/parser_fasta_listener.dart 751:14 Forw ardingTestListener.endForIn
2372 // package:front_end/src/fasta/parser/parser.dart 3755:14 Pars er.parseForInRest
2373 // package:front_end/src/fasta/parser/parser.dart 3695:14 Pars er.parseForStatement
2374 // package:front_end/src/fasta/parser/parser.dart 2745:14 Pars er.parseStatementX
2375 // package:front_end/src/fasta/parser/parser.dart 2722:20 Pars er.parseStatement
2376 // test/generated/parser_fasta_test.dart 3702:39 Pars erProxy._run
1501 super.test_multipleVariablesInForEach(); 2377 super.test_multipleVariablesInForEach();
1502 } 2378 }
1503 2379
1504 @override 2380 @override
1505 @failingTest 2381 @failingTest
1506 void test_multipleWithClauses() { 2382 void test_multipleWithClauses() {
2383 // TODO(brianwilkerson) Wrong errors:
2384 // Expected 1 errors of type ParserErrorCode.MULTIPLE_WITH_CLAUSES, found 0
1507 super.test_multipleWithClauses(); 2385 super.test_multipleWithClauses();
1508 } 2386 }
1509 2387
1510 @override 2388 @override
1511 @failingTest 2389 @failingTest
1512 void test_namedFunctionExpression() { 2390 void test_namedFunctionExpression() {
2391 // TODO(brianwilkerson) Does not recover.
2392 // Internal problem: Compiler cannot run without a compiler context.
2393 // Tip: Are calls to the compiler wrapped in CompilerContext.runInContext?
2394 // package:front_end/src/fasta/compiler_context.dart 81:7 Comp ilerContext.current
2395 // package:front_end/src/fasta/problems.dart 29:25 inte rnalProblem
2396 // package:front_end/src/fasta/problems.dart 41:10 unha ndled
2397 // package:front_end/src/fasta/source/stack_listener.dart 126:5 Stac kListener.logEvent
2398 // package:analyzer/src/fasta/ast_builder.dart 1548:5 AstB uilder.endNamedFunctionExpression
2399 // test/generated/parser_fasta_listener.dart 938:14 Forw ardingTestListener.endNamedFunctionExpression
2400 // package:front_end/src/fasta/parser/parser.dart 2520:16 Pars er.parseNamedFunctionRest
2401 // package:front_end/src/fasta/parser/parser.dart 1379:16 Pars er.parseType
2402 // package:front_end/src/fasta/parser/parser.dart 3365:14 Pars er.parseSendOrFunctionLiteral
2403 // package:front_end/src/fasta/parser/parser.dart 3127:14 Pars er.parsePrimary
2404 // test/generated/parser_fasta_test.dart 3320:31 Fast aParserTestCase.parsePrimaryExpression.<fn>.<fn>
2405 // test/generated/parser_fasta_test.dart 3702:39 Pars erProxy._run
1513 super.test_namedFunctionExpression(); 2406 super.test_namedFunctionExpression();
1514 } 2407 }
1515 2408
1516 @override 2409 @override
1517 @failingTest 2410 @failingTest
1518 void test_namedParameterOutsideGroup() { 2411 void test_namedParameterOutsideGroup() {
2412 // TODO(brianwilkerson) Wrong errors:
2413 // Expected 1 errors of type ParserErrorCode.NAMED_PARAMETER_OUTSIDE_GROUP, found 0
1519 super.test_namedParameterOutsideGroup(); 2414 super.test_namedParameterOutsideGroup();
1520 } 2415 }
1521 2416
1522 @override 2417 @override
1523 @failingTest 2418 @failingTest
1524 void test_nonConstructorFactory_field() { 2419 void test_nonConstructorFactory_field() {
2420 // TODO(brianwilkerson) Does not recover.
2421 // Internal problem: Compiler cannot run without a compiler context.
2422 // Tip: Are calls to the compiler wrapped in CompilerContext.runInContext?
2423 // package:front_end/src/fasta/compiler_context.dart 81:7 Comp ilerContext.current
2424 // package:front_end/src/fasta/problems.dart 29:25 inte rnalProblem
2425 // package:front_end/src/fasta/problems.dart 41:10 unha ndled
2426 // package:analyzer/src/fasta/ast_builder.dart 1498:7 AstB uilder.endFactoryMethod
2427 // test/generated/parser_fasta_listener.dart 731:14 Forw ardingTestListener.endFactoryMethod
2428 // package:front_end/src/fasta/parser/parser.dart 2465:14 Pars er.parseFactoryMethod
2429 // package:front_end/src/fasta/parser/parser.dart 2240:15 Pars er.parseMember
2430 // test/generated/parser_fasta_test.dart 3702:39 Pars erProxy._run
1525 super.test_nonConstructorFactory_field(); 2431 super.test_nonConstructorFactory_field();
1526 } 2432 }
1527 2433
1528 @override 2434 @override
1529 @failingTest 2435 @failingTest
1530 void test_nonConstructorFactory_method() { 2436 void test_nonConstructorFactory_method() {
2437 // TODO(brianwilkerson) Wrong errors:
2438 // Expected 1 errors of type ParserErrorCode.NON_CONSTRUCTOR_FACTORY, found 0
1531 super.test_nonConstructorFactory_method(); 2439 super.test_nonConstructorFactory_method();
1532 } 2440 }
1533 2441
1534 @override 2442 @override
1535 @failingTest 2443 @failingTest
1536 void test_nonIdentifierLibraryName_library() { 2444 void test_nonIdentifierLibraryName_library() {
2445 // TODO(brianwilkerson) Wrong errors:
2446 // Expected 1 errors of type ParserErrorCode.NON_IDENTIFIER_LIBRARY_NAME, fo und 0
1537 super.test_nonIdentifierLibraryName_library(); 2447 super.test_nonIdentifierLibraryName_library();
1538 } 2448 }
1539 2449
1540 @override 2450 @override
1541 @failingTest 2451 @failingTest
1542 void test_nonIdentifierLibraryName_partOf() { 2452 void test_nonIdentifierLibraryName_partOf() {
2453 // TODO(brianwilkerson) Does not recover.
2454 // type 'IntegerLiteralImpl' is not a subtype of type 'List<SimpleIdentifi er>' of 'components' where
2455 // IntegerLiteralImpl is from package:analyzer/src/dart/ast/ast.dart
2456 // List is from dart:core
2457 // SimpleIdentifier is from package:analyzer/dart/ast/ast.dart
2458 //
2459 // package:analyzer/src/dart/ast/ast_factory.dart 665:62 AstF actoryImpl.libraryIdentifier
2460 // package:analyzer/src/fasta/ast_builder.dart 1451:18 AstB uilder.endPartOf
2461 // package:front_end/src/fasta/parser/parser.dart 499:14 Pars er.parsePartOf
2462 // package:front_end/src/fasta/parser/parser.dart 467:14 Pars er.parsePartOrPartOf
2463 // package:front_end/src/fasta/parser/parser.dart 296:14 Pars er._parseTopLevelDeclaration
2464 // package:front_end/src/fasta/parser/parser.dart 263:13 Pars er.parseTopLevelDeclaration
2465 // package:front_end/src/fasta/parser/parser.dart 252:15 Pars er.parseUnit
2466 // package:analyzer/src/generated/parser_fasta.dart 77:33 _Par ser2.parseCompilationUnit2
2467 // package:analyzer/src/generated/parser_fasta.dart 72:12 _Par ser2.parseCompilationUnit
2468 // test/generated/parser_fasta_test.dart 3125:35 Fast aParserTestCase.parseCompilationUnit
1543 super.test_nonIdentifierLibraryName_partOf(); 2469 super.test_nonIdentifierLibraryName_partOf();
1544 } 2470 }
1545 2471
1546 @override 2472 @override
1547 @failingTest 2473 @failingTest
1548 void test_nonPartOfDirectiveInPart_after() { 2474 void test_nonPartOfDirectiveInPart_after() {
2475 // TODO(brianwilkerson) Wrong errors:
2476 // Expected 1 errors of type ParserErrorCode.NON_PART_OF_DIRECTIVE_IN_PART, found 0
1549 super.test_nonPartOfDirectiveInPart_after(); 2477 super.test_nonPartOfDirectiveInPart_after();
1550 } 2478 }
1551 2479
1552 @override 2480 @override
1553 @failingTest 2481 @failingTest
1554 void test_nonPartOfDirectiveInPart_before() { 2482 void test_nonPartOfDirectiveInPart_before() {
2483 // TODO(brianwilkerson) Wrong errors:
2484 // Expected 1 errors of type ParserErrorCode.NON_PART_OF_DIRECTIVE_IN_PART, found 0
1555 super.test_nonPartOfDirectiveInPart_before(); 2485 super.test_nonPartOfDirectiveInPart_before();
1556 } 2486 }
1557 2487
1558 @override 2488 @override
1559 @failingTest 2489 @failingTest
1560 void test_nonUserDefinableOperator() { 2490 void test_nonUserDefinableOperator() {
2491 // TODO(brianwilkerson) Does not recover.
2492 // type 'SimpleIdentifierImpl' is not a subtype of type 'TypeAnnotation' o f 'returnType' where
2493 // SimpleIdentifierImpl is from package:analyzer/src/dart/ast/ast.dart
2494 // TypeAnnotation is from package:analyzer/dart/ast/ast.dart
2495 //
2496 // package:analyzer/src/fasta/ast_builder.dart 1620:33 AstB uilder.endMethod
2497 // test/generated/parser_fasta_listener.dart 926:14 Forw ardingTestListener.endMethod
2498 // package:front_end/src/fasta/parser/parser.dart 2433:14 Pars er.parseMethod
2499 // package:front_end/src/fasta/parser/parser.dart 2323:11 Pars er.parseMember
2500 // test/generated/parser_fasta_test.dart 3766:39 Pars erProxy._run
1561 super.test_nonUserDefinableOperator(); 2501 super.test_nonUserDefinableOperator();
1562 } 2502 }
1563 2503
1564 @override 2504 @override
1565 @failingTest 2505 @failingTest
1566 void test_optionalAfterNormalParameters_named() { 2506 void test_optionalAfterNormalParameters_named() {
2507 // TODO(brianwilkerson) Does not recover.
2508 // type 'FormalParameterListImpl' is not a subtype of type 'TypeParameterL ist' of 'typeParameters' where
2509 // FormalParameterListImpl is from package:analyzer/src/dart/ast/ast.dart
2510 // TypeParameterList is from package:analyzer/dart/ast/ast.dart
2511 //
2512 // package:analyzer/src/fasta/ast_builder.dart 1122:40 AstB uilder.endTopLevelMethod
2513 // package:front_end/src/fasta/parser/parser.dart 1741:14 Pars er.parseTopLevelMethod
2514 // package:front_end/src/fasta/parser/parser.dart 1646:11 Pars er.parseTopLevelMember
2515 // package:front_end/src/fasta/parser/parser.dart 298:14 Pars er._parseTopLevelDeclaration
2516 // package:front_end/src/fasta/parser/parser.dart 263:13 Pars er.parseTopLevelDeclaration
2517 // package:front_end/src/fasta/parser/parser.dart 252:15 Pars er.parseUnit
2518 // package:analyzer/src/generated/parser_fasta.dart 77:33 _Par ser2.parseCompilationUnit2
2519 // package:analyzer/src/generated/parser_fasta.dart 72:12 _Par ser2.parseCompilationUnit
2520 // test/generated/parser_fasta_test.dart 3189:35 Fast aParserTestCase.parseCompilationUnit
1567 super.test_optionalAfterNormalParameters_named(); 2521 super.test_optionalAfterNormalParameters_named();
1568 } 2522 }
1569 2523
1570 @override 2524 @override
1571 @failingTest 2525 @failingTest
1572 void test_optionalAfterNormalParameters_positional() { 2526 void test_optionalAfterNormalParameters_positional() {
2527 // TODO(brianwilkerson) Does not recover.
2528 // type 'FormalParameterListImpl' is not a subtype of type 'TypeParameterL ist' of 'typeParameters' where
2529 // FormalParameterListImpl is from package:analyzer/src/dart/ast/ast.dart
2530 // TypeParameterList is from package:analyzer/dart/ast/ast.dart
2531 //
2532 // package:analyzer/src/fasta/ast_builder.dart 1122:40 AstB uilder.endTopLevelMethod
2533 // package:front_end/src/fasta/parser/parser.dart 1741:14 Pars er.parseTopLevelMethod
2534 // package:front_end/src/fasta/parser/parser.dart 1646:11 Pars er.parseTopLevelMember
2535 // package:front_end/src/fasta/parser/parser.dart 298:14 Pars er._parseTopLevelDeclaration
2536 // package:front_end/src/fasta/parser/parser.dart 263:13 Pars er.parseTopLevelDeclaration
2537 // package:front_end/src/fasta/parser/parser.dart 252:15 Pars er.parseUnit
2538 // package:analyzer/src/generated/parser_fasta.dart 77:33 _Par ser2.parseCompilationUnit2
2539 // package:analyzer/src/generated/parser_fasta.dart 72:12 _Par ser2.parseCompilationUnit
2540 // test/generated/parser_fasta_test.dart 3189:35 Fast aParserTestCase.parseCompilationUnit
1573 super.test_optionalAfterNormalParameters_positional(); 2541 super.test_optionalAfterNormalParameters_positional();
1574 } 2542 }
1575 2543
1576 @override 2544 @override
1577 @failingTest 2545 @failingTest
1578 void test_parseCascadeSection_missingIdentifier() { 2546 void test_parseCascadeSection_missingIdentifier() {
2547 // TODO(brianwilkerson) Testing at too low a level.
1579 super.test_parseCascadeSection_missingIdentifier(); 2548 super.test_parseCascadeSection_missingIdentifier();
1580 } 2549 }
1581 2550
1582 @override 2551 @override
1583 @failingTest 2552 @failingTest
1584 void test_parseCascadeSection_missingIdentifier_typeArguments() { 2553 void test_parseCascadeSection_missingIdentifier_typeArguments() {
2554 // TODO(brianwilkerson) Testing at too low a level.
1585 super.test_parseCascadeSection_missingIdentifier_typeArguments(); 2555 super.test_parseCascadeSection_missingIdentifier_typeArguments();
1586 } 2556 }
1587 2557
1588 @override 2558 @override
1589 @failingTest 2559 @failingTest
1590 void test_positionalAfterNamedArgument() { 2560 void test_positionalAfterNamedArgument() {
2561 // TODO(brianwilkerson) Wrong errors:
2562 // Expected 1 errors of type ParserErrorCode.POSITIONAL_AFTER_NAMED_ARGUMENT , found 0
1591 super.test_positionalAfterNamedArgument(); 2563 super.test_positionalAfterNamedArgument();
1592 } 2564 }
1593 2565
1594 @override 2566 @override
1595 @failingTest 2567 @failingTest
1596 void test_positionalParameterOutsideGroup() { 2568 void test_positionalParameterOutsideGroup() {
2569 // TODO(brianwilkerson) Wrong errors:
2570 // Expected 1 errors of type ParserErrorCode.POSITIONAL_PARAMETER_OUTSIDE_GR OUP, found 0
1597 super.test_positionalParameterOutsideGroup(); 2571 super.test_positionalParameterOutsideGroup();
1598 } 2572 }
1599 2573
1600 @override 2574 @override
1601 @failingTest 2575 @failingTest
1602 void test_redirectingConstructorWithBody_named() { 2576 void test_redirectingConstructorWithBody_named() {
2577 // TODO(brianwilkerson) Wrong errors:
2578 // Expected 1 errors of type ParserErrorCode.REDIRECTING_CONSTRUCTOR_WITH_BO DY, found 0
1603 super.test_redirectingConstructorWithBody_named(); 2579 super.test_redirectingConstructorWithBody_named();
1604 } 2580 }
1605 2581
1606 @override 2582 @override
1607 @failingTest 2583 @failingTest
1608 void test_redirectingConstructorWithBody_unnamed() { 2584 void test_redirectingConstructorWithBody_unnamed() {
2585 // TODO(brianwilkerson) Wrong errors:
2586 // Expected 1 errors of type ParserErrorCode.REDIRECTING_CONSTRUCTOR_WITH_BO DY, found 0
1609 super.test_redirectingConstructorWithBody_unnamed(); 2587 super.test_redirectingConstructorWithBody_unnamed();
1610 } 2588 }
1611 2589
1612 @override 2590 @override
1613 @failingTest 2591 @failingTest
1614 void test_redirectionInNonFactoryConstructor() { 2592 void test_redirectionInNonFactoryConstructor() {
2593 // TODO(brianwilkerson) Does not recover.
2594 // type '_RedirectingFactoryBody' is not a subtype of type 'FunctionBody' of 'body' where
2595 // _RedirectingFactoryBody is from package:analyzer/src/fasta/ast_builder. dart
2596 // FunctionBody is from package:analyzer/dart/ast/ast.dart
2597 //
2598 // package:analyzer/src/fasta/ast_builder.dart 1613:25 AstB uilder.endMethod
2599 // test/generated/parser_fasta_listener.dart 926:14 Forw ardingTestListener.endMethod
2600 // package:front_end/src/fasta/parser/parser.dart 2433:14 Pars er.parseMethod
2601 // package:front_end/src/fasta/parser/parser.dart 2323:11 Pars er.parseMember
2602 // test/generated/parser_fasta_test.dart 3766:39 Pars erProxy._run
1615 super.test_redirectionInNonFactoryConstructor(); 2603 super.test_redirectionInNonFactoryConstructor();
1616 } 2604 }
1617 2605
1618 @override 2606 @override
1619 @failingTest 2607 @failingTest
1620 void test_setterInFunction_block() { 2608 void test_setterInFunction_block() {
2609 // TODO(brianwilkerson) Wrong errors:
2610 // Expected 1 errors of type ParserErrorCode.SETTER_IN_FUNCTION, found 0
1621 super.test_setterInFunction_block(); 2611 super.test_setterInFunction_block();
1622 } 2612 }
1623 2613
1624 @override 2614 @override
1625 @failingTest 2615 @failingTest
1626 void test_setterInFunction_expression() { 2616 void test_setterInFunction_expression() {
2617 // TODO(brianwilkerson) Wrong errors:
2618 // Expected 1 errors of type ParserErrorCode.SETTER_IN_FUNCTION, found 0
1627 super.test_setterInFunction_expression(); 2619 super.test_setterInFunction_expression();
1628 } 2620 }
1629 2621
1630 @override 2622 @override
1631 @failingTest 2623 @failingTest
1632 void test_staticAfterConst() { 2624 void test_staticAfterConst() {
2625 // TODO(brianwilkerson) Wrong errors:
2626 // Expected 1 errors of type ParserErrorCode.STATIC_AFTER_FINAL, found 0;
2627 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (6)
1633 super.test_staticAfterConst(); 2628 super.test_staticAfterConst();
1634 } 2629 }
1635 2630
1636 @override 2631 @override
1637 @failingTest 2632 @failingTest
1638 void test_staticAfterFinal() { 2633 void test_staticAfterFinal() {
2634 // TODO(brianwilkerson) Wrong errors:
2635 // Expected 1 errors of type ParserErrorCode.STATIC_AFTER_CONST, found 0;
2636 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (6)
1639 super.test_staticAfterFinal(); 2637 super.test_staticAfterFinal();
1640 } 2638 }
1641 2639
1642 @override 2640 @override
1643 @failingTest 2641 @failingTest
1644 void test_staticAfterVar() { 2642 void test_staticAfterVar() {
2643 // TODO(brianwilkerson) Wrong errors:
2644 // Expected 1 errors of type ParserErrorCode.STATIC_AFTER_VAR, found 0;
2645 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (4)
1645 super.test_staticAfterVar(); 2646 super.test_staticAfterVar();
1646 } 2647 }
1647 2648
1648 @override 2649 @override
1649 @failingTest 2650 @failingTest
1650 void test_staticConstructor() { 2651 void test_staticConstructor() {
2652 // TODO(brianwilkerson) Wrong errors:
2653 // Expected 1 errors of type ParserErrorCode.STATIC_CONSTRUCTOR, found 0
1651 super.test_staticConstructor(); 2654 super.test_staticConstructor();
1652 } 2655 }
1653 2656
1654 @override 2657 @override
1655 @failingTest 2658 @failingTest
1656 void test_staticGetterWithoutBody() { 2659 void test_staticGetterWithoutBody() {
2660 // TODO(brianwilkerson) Wrong errors:
2661 // Expected 1 errors of type ParserErrorCode.STATIC_GETTER_WITHOUT_BODY, fou nd 0
1657 super.test_staticGetterWithoutBody(); 2662 super.test_staticGetterWithoutBody();
1658 } 2663 }
1659 2664
1660 @override 2665 @override
1661 @failingTest 2666 @failingTest
1662 void test_staticOperator_noReturnType() { 2667 void test_staticOperator_noReturnType() {
2668 // TODO(brianwilkerson) Wrong errors:
2669 // Expected 1 errors of type ParserErrorCode.STATIC_OPERATOR, found 0;
2670 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (0)
1663 super.test_staticOperator_noReturnType(); 2671 super.test_staticOperator_noReturnType();
1664 } 2672 }
1665 2673
1666 @override 2674 @override
1667 @failingTest 2675 @failingTest
1668 void test_staticOperator_returnType() { 2676 void test_staticOperator_returnType() {
2677 // TODO(brianwilkerson) Wrong errors:
2678 // Expected 1 errors of type ParserErrorCode.STATIC_OPERATOR, found 0;
2679 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (0)
1669 super.test_staticOperator_returnType(); 2680 super.test_staticOperator_returnType();
1670 } 2681 }
1671 2682
1672 @override 2683 @override
1673 @failingTest 2684 @failingTest
1674 void test_staticSetterWithoutBody() { 2685 void test_staticSetterWithoutBody() {
2686 // TODO(brianwilkerson) Wrong errors:
2687 // Expected 1 errors of type ParserErrorCode.STATIC_SETTER_WITHOUT_BODY, fou nd 0
1675 super.test_staticSetterWithoutBody(); 2688 super.test_staticSetterWithoutBody();
1676 } 2689 }
1677 2690
1678 @override 2691 @override
1679 @failingTest 2692 @failingTest
1680 void test_staticTopLevelDeclaration_class() { 2693 void test_staticTopLevelDeclaration_class() {
2694 // TODO(brianwilkerson) Wrong errors:
2695 // Expected 1 errors of type ParserErrorCode.STATIC_TOP_LEVEL_DECLARATION, f ound 0;
2696 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 2 (1, 8)
1681 super.test_staticTopLevelDeclaration_class(); 2697 super.test_staticTopLevelDeclaration_class();
1682 } 2698 }
1683 2699
1684 @override 2700 @override
1685 @failingTest 2701 @failingTest
1686 void test_staticTopLevelDeclaration_enum() { 2702 void test_staticTopLevelDeclaration_enum() {
2703 // TODO(brianwilkerson) Wrong errors:
2704 // Expected 1 errors of type ParserErrorCode.STATIC_TOP_LEVEL_DECLARATION, f ound 0;
2705 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 2 (1, 8)
1687 super.test_staticTopLevelDeclaration_enum(); 2706 super.test_staticTopLevelDeclaration_enum();
1688 } 2707 }
1689 2708
1690 @override 2709 @override
1691 @failingTest 2710 @failingTest
1692 void test_staticTopLevelDeclaration_function() { 2711 void test_staticTopLevelDeclaration_function() {
2712 // TODO(brianwilkerson) Wrong errors:
2713 //Expected 1 errors of type ParserErrorCode.STATIC_TOP_LEVEL_DECLARATION, fo und 0;
2714 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (1)
1693 super.test_staticTopLevelDeclaration_function(); 2715 super.test_staticTopLevelDeclaration_function();
1694 } 2716 }
1695 2717
1696 @override 2718 @override
1697 @failingTest 2719 @failingTest
1698 void test_staticTopLevelDeclaration_typedef() { 2720 void test_staticTopLevelDeclaration_typedef() {
2721 // TODO(brianwilkerson) Wrong errors:
2722 // Expected 1 errors of type ParserErrorCode.STATIC_TOP_LEVEL_DECLARATION, f ound 0;
2723 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 2 (1, 8)
1699 super.test_staticTopLevelDeclaration_typedef(); 2724 super.test_staticTopLevelDeclaration_typedef();
1700 } 2725 }
1701 2726
1702 @override 2727 @override
1703 @failingTest 2728 @failingTest
1704 void test_staticTopLevelDeclaration_variable() { 2729 void test_staticTopLevelDeclaration_variable() {
2730 // TODO(brianwilkerson) Wrong errors:
2731 // Expected 1 errors of type ParserErrorCode.STATIC_TOP_LEVEL_DECLARATION, f ound 0;
2732 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (1)
1705 super.test_staticTopLevelDeclaration_variable(); 2733 super.test_staticTopLevelDeclaration_variable();
1706 } 2734 }
1707 2735
1708 @override 2736 @override
1709 @failingTest 2737 @failingTest
1710 void test_string_unterminated_interpolation_block() { 2738 void test_string_unterminated_interpolation_block() {
2739 // TODO(brianwilkerson) Does not recover.
2740 // RangeError: Value not in range: -1
2741 // dart:core _Str ingBase.substring
2742 // package:front_end/src/fasta/quote.dart 130:12 unes capeLastStringPart
2743 // package:analyzer/src/fasta/ast_builder.dart 181:17 AstB uilder.endLiteralString
2744 // package:front_end/src/fasta/parser/parser.dart 3497:14 Pars er.parseSingleLiteralString
2745 // package:front_end/src/fasta/parser/parser.dart 3434:13 Pars er.parseLiteralString
2746 // package:front_end/src/fasta/parser/parser.dart 3133:14 Pars er.parsePrimary
2747 // package:front_end/src/fasta/parser/parser.dart 3097:14 Pars er.parseUnaryExpression
2748 // package:front_end/src/fasta/parser/parser.dart 2968:13 Pars er.parsePrecedenceExpression
2749 // package:front_end/src/fasta/parser/parser.dart 2942:11 Pars er.parseExpression
2750 // package:front_end/src/fasta/parser/parser.dart 2862:13 Pars er.parseExpressionStatement
2751 // package:front_end/src/fasta/parser/parser.dart 2790:14 Pars er.parseStatementX
2752 // package:front_end/src/fasta/parser/parser.dart 2722:20 Pars er.parseStatement
2753 // package:front_end/src/fasta/parser/parser.dart 3792:15 Pars er.parseBlock
2754 // package:front_end/src/fasta/parser/parser.dart 2732:14 Pars er.parseStatementX
2755 // package:front_end/src/fasta/parser/parser.dart 2722:20 Pars er.parseStatement
2756 // package:front_end/src/fasta/parser/parser.dart 2652:15 Pars er.parseFunctionBody
2757 // package:front_end/src/fasta/parser/parser.dart 1737:13 Pars er.parseTopLevelMethod
2758 // package:front_end/src/fasta/parser/parser.dart 1646:11 Pars er.parseTopLevelMember
2759 // package:front_end/src/fasta/parser/parser.dart 298:14 Pars er._parseTopLevelDeclaration
2760 // package:front_end/src/fasta/parser/parser.dart 263:13 Pars er.parseTopLevelDeclaration
2761 // package:front_end/src/fasta/parser/parser.dart 252:15 Pars er.parseUnit
2762 // package:analyzer/src/generated/parser_fasta.dart 77:33 _Par ser2.parseCompilationUnit2
2763 // package:analyzer/src/generated/parser_fasta.dart 72:12 _Par ser2.parseCompilationUnit
2764 // test/generated/parser_fasta_test.dart 3272:35 Fast aParserTestCase.parseCompilationUnit
1711 super.test_string_unterminated_interpolation_block(); 2765 super.test_string_unterminated_interpolation_block();
1712 } 2766 }
1713 2767
1714 @override 2768 @override
1715 @failingTest 2769 @failingTest
1716 void test_switchHasCaseAfterDefaultCase() { 2770 void test_switchHasCaseAfterDefaultCase() {
2771 // TODO(brianwilkerson) Wrong errors:
2772 // Expected 1 errors of type ParserErrorCode.SWITCH_HAS_CASE_AFTER_DEFAULT_C ASE, found 0
1717 super.test_switchHasCaseAfterDefaultCase(); 2773 super.test_switchHasCaseAfterDefaultCase();
1718 } 2774 }
1719 2775
1720 @override 2776 @override
1721 @failingTest 2777 @failingTest
1722 void test_switchHasCaseAfterDefaultCase_repeated() { 2778 void test_switchHasCaseAfterDefaultCase_repeated() {
2779 // TODO(brianwilkerson) Wrong errors:
2780 // Expected 2 errors of type ParserErrorCode.SWITCH_HAS_CASE_AFTER_DEFAULT_C ASE, found 0
1723 super.test_switchHasCaseAfterDefaultCase_repeated(); 2781 super.test_switchHasCaseAfterDefaultCase_repeated();
1724 } 2782 }
1725 2783
1726 @override 2784 @override
1727 @failingTest 2785 @failingTest
1728 void test_switchHasMultipleDefaultCases() { 2786 void test_switchHasMultipleDefaultCases() {
2787 // TODO(brianwilkerson) Wrong errors:
2788 // Expected 1 errors of type ParserErrorCode.SWITCH_HAS_MULTIPLE_DEFAULT_CAS ES, found 0
1729 super.test_switchHasMultipleDefaultCases(); 2789 super.test_switchHasMultipleDefaultCases();
1730 } 2790 }
1731 2791
1732 @override 2792 @override
1733 @failingTest 2793 @failingTest
1734 void test_switchHasMultipleDefaultCases_repeated() { 2794 void test_switchHasMultipleDefaultCases_repeated() {
2795 // TODO(brianwilkerson) Wrong errors:
2796 // Expected 2 errors of type ParserErrorCode.SWITCH_HAS_MULTIPLE_DEFAULT_CAS ES, found 0
1735 super.test_switchHasMultipleDefaultCases_repeated(); 2797 super.test_switchHasMultipleDefaultCases_repeated();
1736 } 2798 }
1737 2799
1738 @override 2800 @override
1739 @failingTest 2801 @failingTest
1740 void test_topLevelOperator_withoutType() { 2802 void test_topLevelOperator_withoutType() {
2803 // TODO(brianwilkerson) Does not recover.
2804 // type 'DeclaredSimpleIdentifier' is not a subtype of type 'TypeAnnotatio n' of 'returnType' where
2805 // DeclaredSimpleIdentifier is from package:analyzer/src/dart/ast/ast.dart
2806 // TypeAnnotation is from package:analyzer/dart/ast/ast.dart
2807 //
2808 // package:analyzer/src/fasta/ast_builder.dart 1125:33 AstB uilder.endTopLevelMethod
2809 // test/generated/parser_fasta_listener.dart 1044:14 Forw ardingTestListener.endTopLevelMethod
2810 // package:front_end/src/fasta/parser/parser.dart 1741:14 Pars er.parseTopLevelMethod
2811 // package:front_end/src/fasta/parser/parser.dart 1646:11 Pars er.parseTopLevelMember
2812 // package:front_end/src/fasta/parser/parser.dart 298:14 Pars er._parseTopLevelDeclaration
2813 // package:front_end/src/fasta/parser/parser.dart 263:13 Pars er.parseTopLevelDeclaration
2814 // test/generated/parser_fasta_test.dart 3838:22 Pars erProxy.parseTopLevelDeclaration
1741 super.test_topLevelOperator_withoutType(); 2815 super.test_topLevelOperator_withoutType();
1742 } 2816 }
1743 2817
1744 @override 2818 @override
1745 @failingTest 2819 @failingTest
1746 void test_topLevelOperator_withType() { 2820 void test_topLevelOperator_withType() {
2821 // TODO(brianwilkerson) Does not recover.
2822 // type 'DeclaredSimpleIdentifier' is not a subtype of type 'TypeAnnotatio n' of 'returnType' where
2823 // DeclaredSimpleIdentifier is from package:analyzer/src/dart/ast/ast.dart
2824 // TypeAnnotation is from package:analyzer/dart/ast/ast.dart
2825 //
2826 // package:analyzer/src/fasta/ast_builder.dart 1125:33 AstB uilder.endTopLevelMethod
2827 // test/generated/parser_fasta_listener.dart 1044:14 Forw ardingTestListener.endTopLevelMethod
2828 // package:front_end/src/fasta/parser/parser.dart 1741:14 Pars er.parseTopLevelMethod
2829 // package:front_end/src/fasta/parser/parser.dart 1646:11 Pars er.parseTopLevelMember
2830 // package:front_end/src/fasta/parser/parser.dart 298:14 Pars er._parseTopLevelDeclaration
2831 // package:front_end/src/fasta/parser/parser.dart 263:13 Pars er.parseTopLevelDeclaration
2832 // test/generated/parser_fasta_test.dart 3838:22 Pars erProxy.parseTopLevelDeclaration
1747 super.test_topLevelOperator_withType(); 2833 super.test_topLevelOperator_withType();
1748 } 2834 }
1749 2835
1750 @override 2836 @override
1751 @failingTest 2837 @failingTest
1752 void test_topLevelOperator_withVoid() { 2838 void test_topLevelOperator_withVoid() {
2839 // TODO(brianwilkerson) Does not recover.
2840 // type 'DeclaredSimpleIdentifier' is not a subtype of type 'TypeAnnotatio n' of 'returnType' where
2841 // DeclaredSimpleIdentifier is from package:analyzer/src/dart/ast/ast.dart
2842 // TypeAnnotation is from package:analyzer/dart/ast/ast.dart
2843 //
2844 // package:analyzer/src/fasta/ast_builder.dart 1125:33 AstB uilder.endTopLevelMethod
2845 // test/generated/parser_fasta_listener.dart 1044:14 Forw ardingTestListener.endTopLevelMethod
2846 // package:front_end/src/fasta/parser/parser.dart 1741:14 Pars er.parseTopLevelMethod
2847 // package:front_end/src/fasta/parser/parser.dart 1646:11 Pars er.parseTopLevelMember
2848 // package:front_end/src/fasta/parser/parser.dart 298:14 Pars er._parseTopLevelDeclaration
2849 // package:front_end/src/fasta/parser/parser.dart 263:13 Pars er.parseTopLevelDeclaration
2850 // test/generated/parser_fasta_test.dart 3838:22 Pars erProxy.parseTopLevelDeclaration
1753 super.test_topLevelOperator_withVoid(); 2851 super.test_topLevelOperator_withVoid();
1754 } 2852 }
1755 2853
1756 @override 2854 @override
1757 @failingTest 2855 @failingTest
1758 void test_topLevelVariable_withMetadata() { 2856 void test_topLevelVariable_withMetadata() {
2857 // TODO(brianwilkerson) Wrong errors:
2858 // Expected 1 errors of type ParserErrorCode.MISSING_CONST_FINAL_VAR_OR_TYPE , found 0;
2859 // 1 errors of type ParserErrorCode.EXPECTED_TOKEN, found 0;
2860 // 1 errors of type ParserErrorCode.MISSING_IDENTIFIER, found 0;
2861 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (8)
1759 super.test_topLevelVariable_withMetadata(); 2862 super.test_topLevelVariable_withMetadata();
1760 } 2863 }
1761 2864
1762 @override 2865 @override
1763 @failingTest 2866 @failingTest
1764 void test_typedef_incomplete() { 2867 void test_typedef_incomplete() {
2868 // TODO(brianwilkerson) Wrong errors:
2869 // Expected 1 errors of type ParserErrorCode.UNEXPECTED_TOKEN, found 0;
2870 // 1 errors of type ParserErrorCode.EXPECTED_TOKEN, found 0;
2871 // 1 errors of type ParserErrorCode.EXPECTED_EXECUTABLE, found 0
1765 super.test_typedef_incomplete(); 2872 super.test_typedef_incomplete();
1766 } 2873 }
1767 2874
1768 @override 2875 @override
1769 @failingTest 2876 @failingTest
1770 void test_typedef_namedFunction() { 2877 void test_typedef_namedFunction() {
2878 // TODO(brianwilkerson) Wrong errors:
2879 // Expected 1 errors of type ParserErrorCode.MISSING_TYPEDEF_PARAMETERS, fou nd 0;
2880 // 1 errors of type ParserErrorCode.MISSING_IDENTIFIER, found 0;
2881 // 1 errors of type ParserErrorCode.UNEXPECTED_TOKEN, found 0;
2882 // 1 errors of type ParserErrorCode.EXPECTED_EXECUTABLE, found 0
1771 super.test_typedef_namedFunction(); 2883 super.test_typedef_namedFunction();
1772 } 2884 }
1773 2885
1774 @override 2886 @override
1775 @failingTest 2887 @failingTest
1776 void test_typedefInClass_withoutReturnType() { 2888 void test_typedefInClass_withoutReturnType() {
2889 // TODO(brianwilkerson) Wrong errors:
2890 // Expected 1 errors of type ParserErrorCode.TYPEDEF_IN_CLASS, found 0
1777 super.test_typedefInClass_withoutReturnType(); 2891 super.test_typedefInClass_withoutReturnType();
1778 } 2892 }
1779 2893
1780 @override 2894 @override
1781 @failingTest 2895 @failingTest
1782 void test_typedefInClass_withReturnType() { 2896 void test_typedefInClass_withReturnType() {
2897 // TODO(brianwilkerson) Wrong errors:
2898 // Expected 1 errors of type ParserErrorCode.TYPEDEF_IN_CLASS, found 0
1783 super.test_typedefInClass_withReturnType(); 2899 super.test_typedefInClass_withReturnType();
1784 } 2900 }
1785 2901
1786 @override 2902 @override
1787 @failingTest 2903 @failingTest
1788 void test_unexpectedTerminatorForParameterGroup_named() { 2904 void test_unexpectedTerminatorForParameterGroup_named() {
2905 // TODO(brianwilkerson) Wrong errors:
2906 // Expected 1 errors of type ParserErrorCode.UNEXPECTED_TERMINATOR_FOR_PARAM ETER_GROUP, found 0
1789 super.test_unexpectedTerminatorForParameterGroup_named(); 2907 super.test_unexpectedTerminatorForParameterGroup_named();
1790 } 2908 }
1791 2909
1792 @override 2910 @override
1793 @failingTest 2911 @failingTest
1794 void test_unexpectedTerminatorForParameterGroup_optional() { 2912 void test_unexpectedTerminatorForParameterGroup_optional() {
2913 // TODO(brianwilkerson) Wrong errors:
2914 //Expected 1 errors of type ParserErrorCode.UNEXPECTED_TERMINATOR_FOR_PARAME TER_GROUP, found 0
1795 super.test_unexpectedTerminatorForParameterGroup_optional(); 2915 super.test_unexpectedTerminatorForParameterGroup_optional();
1796 } 2916 }
1797 2917
1798 @override 2918 @override
1799 @failingTest 2919 @failingTest
1800 void test_unexpectedToken_endOfFieldDeclarationStatement() { 2920 void test_unexpectedToken_endOfFieldDeclarationStatement() {
2921 // TODO(brianwilkerson) Wrong errors:
2922 // Expected 1 errors of type ParserErrorCode.UNEXPECTED_TOKEN, found 0
1801 super.test_unexpectedToken_endOfFieldDeclarationStatement(); 2923 super.test_unexpectedToken_endOfFieldDeclarationStatement();
1802 } 2924 }
1803 2925
1804 @override 2926 @override
1805 @failingTest 2927 @failingTest
1806 void test_unexpectedToken_invalidPostfixExpression() { 2928 void test_unexpectedToken_invalidPostfixExpression() {
2929 // TODO(brianwilkerson) Wrong errors:
2930 // Expected 1 errors of type ParserErrorCode.UNEXPECTED_TOKEN, found 0
1807 super.test_unexpectedToken_invalidPostfixExpression(); 2931 super.test_unexpectedToken_invalidPostfixExpression();
1808 } 2932 }
1809 2933
1810 @override 2934 @override
1811 @failingTest 2935 @failingTest
1812 void test_unexpectedToken_returnInExpressionFunctionBody() { 2936 void test_unexpectedToken_returnInExpressionFunctionBody() {
2937 // TODO(brianwilkerson) Does not recover.
2938 // type 'FormalParameterListImpl' is not a subtype of type 'Token' of 'asy ncKeyword' where
2939 // FormalParameterListImpl is from package:analyzer/src/dart/ast/ast.dart
2940 // Token is from package:front_end/src/scanner/token.dart
2941 //
2942 // package:analyzer/src/fasta/ast_builder.dart 380:26 AstB uilder.handleExpressionFunctionBody
2943 // package:front_end/src/fasta/parser/parser.dart 2621:18 Pars er.parseFunctionBody
2944 // package:front_end/src/fasta/parser/parser.dart 1737:13 Pars er.parseTopLevelMethod
2945 // package:front_end/src/fasta/parser/parser.dart 1646:11 Pars er.parseTopLevelMember
2946 // package:front_end/src/fasta/parser/parser.dart 298:14 Pars er._parseTopLevelDeclaration
2947 // package:front_end/src/fasta/parser/parser.dart 263:13 Pars er.parseTopLevelDeclaration
2948 // package:front_end/src/fasta/parser/parser.dart 252:15 Pars er.parseUnit
2949 // package:analyzer/src/generated/parser_fasta.dart 77:33 _Par ser2.parseCompilationUnit2
2950 // package:analyzer/src/generated/parser_fasta.dart 72:12 _Par ser2.parseCompilationUnit
2951 // test/generated/parser_fasta_test.dart 3371:35 Fast aParserTestCase.parseCompilationUnit
1813 super.test_unexpectedToken_returnInExpressionFunctionBody(); 2952 super.test_unexpectedToken_returnInExpressionFunctionBody();
1814 } 2953 }
1815 2954
1816 @override 2955 @override
1817 @failingTest 2956 @failingTest
1818 void test_unexpectedToken_semicolonBetweenClassMembers() { 2957 void test_unexpectedToken_semicolonBetweenClassMembers() {
2958 // TODO(brianwilkerson) Does not recover.
2959 // Expected ClassBody, but found [CompilationUnit, ClassOrNamedMixinApplic ation, ClassDeclaration, ClassBody, Member]
2960 // package:test fail
2961 // test/generated/parser_fasta_listener.dart 50:7 Forw ardingTestListener.expectIn
2962 // test/generated/parser_fasta_listener.dart 55:5 Forw ardingTestListener.end
2963 // test/generated/parser_fasta_listener.dart 615:5 Forw ardingTestListener.endClassBody
2964 // package:front_end/src/fasta/parser/parser.dart 2220:14 Pars er.parseClassBody
2965 // package:front_end/src/fasta/parser/parser.dart 897:13 Pars er.parseClass
2966 // package:front_end/src/fasta/parser/parser.dart 850:14 Pars er.parseClassOrNamedMixinApplication
2967 // package:front_end/src/fasta/parser/parser.dart 283:14 Pars er._parseTopLevelDeclaration
2968 // package:front_end/src/fasta/parser/parser.dart 263:13 Pars er.parseTopLevelDeclaration
2969 // test/generated/parser_fasta_test.dart 3896:22 Pars erProxy.parseTopLevelDeclaration
1819 super.test_unexpectedToken_semicolonBetweenClassMembers(); 2970 super.test_unexpectedToken_semicolonBetweenClassMembers();
1820 } 2971 }
1821 2972
1822 @override 2973 @override
1823 @failingTest 2974 @failingTest
1824 void test_unexpectedToken_semicolonBetweenCompilationUnitMembers() { 2975 void test_unexpectedToken_semicolonBetweenCompilationUnitMembers() {
2976 // TODO(brianwilkerson) Does not recover.
2977 // Internal problem: Compiler cannot run without a compiler context.
2978 // Tip: Are calls to the compiler wrapped in CompilerContext.runInContext?
2979 // package:front_end/src/fasta/compiler_context.dart 81:7 Comp ilerContext.current
2980 // package:front_end/src/fasta/problems.dart 29:25 inte rnalProblem
2981 // package:front_end/src/fasta/source/stack_listener.dart 148:7 Stac kListener.checkEmpty
2982 // package:analyzer/src/fasta/ast_builder.dart 1163:5 AstB uilder.endCompilationUnit
2983 // package:front_end/src/fasta/parser/parser.dart 255:14 Pars er.parseUnit
2984 // package:analyzer/src/generated/parser_fasta.dart 77:33 _Par ser2.parseCompilationUnit2
2985 // package:analyzer/src/generated/parser_fasta.dart 72:12 _Par ser2.parseCompilationUnit
2986 // test/generated/parser_fasta_test.dart 3371:35 Fast aParserTestCase.parseCompilationUnit
1825 super.test_unexpectedToken_semicolonBetweenCompilationUnitMembers(); 2987 super.test_unexpectedToken_semicolonBetweenCompilationUnitMembers();
1826 } 2988 }
1827 2989
1828 @override 2990 @override
1829 @failingTest 2991 @failingTest
1830 void test_unterminatedString_at_eof() { 2992 void test_unterminatedString_at_eof() {
2993 // TODO(brianwilkerson) Wrong errors:
2994 // Expected 1 errors of type ParserErrorCode.EXPECTED_TOKEN, found 0
1831 super.test_unterminatedString_at_eof(); 2995 super.test_unterminatedString_at_eof();
1832 } 2996 }
1833 2997
1834 @override 2998 @override
1835 @failingTest 2999 @failingTest
1836 void test_unterminatedString_multiline_at_eof_3_quotes() { 3000 void test_unterminatedString_multiline_at_eof_3_quotes() {
3001 // TODO(brianwilkerson) Wrong errors:
3002 // Expected 1 errors of type ParserErrorCode.EXPECTED_TOKEN, found 0
1837 super.test_unterminatedString_multiline_at_eof_3_quotes(); 3003 super.test_unterminatedString_multiline_at_eof_3_quotes();
1838 } 3004 }
1839 3005
1840 @override 3006 @override
1841 @failingTest 3007 @failingTest
1842 void test_unterminatedString_multiline_at_eof_4_quotes() { 3008 void test_unterminatedString_multiline_at_eof_4_quotes() {
3009 // TODO(brianwilkerson) Wrong errors:
3010 // Expected 1 errors of type ParserErrorCode.EXPECTED_TOKEN, found 0
1843 super.test_unterminatedString_multiline_at_eof_4_quotes(); 3011 super.test_unterminatedString_multiline_at_eof_4_quotes();
1844 } 3012 }
1845 3013
1846 @override 3014 @override
1847 @failingTest 3015 @failingTest
1848 void test_unterminatedString_multiline_at_eof_5_quotes() { 3016 void test_unterminatedString_multiline_at_eof_5_quotes() {
3017 // TODO(brianwilkerson) Wrong errors:
3018 // Expected 1 errors of type ParserErrorCode.EXPECTED_TOKEN, found 0
1849 super.test_unterminatedString_multiline_at_eof_5_quotes(); 3019 super.test_unterminatedString_multiline_at_eof_5_quotes();
1850 } 3020 }
1851 3021
1852 @override 3022 @override
1853 @failingTest 3023 @failingTest
1854 void test_useOfUnaryPlusOperator() { 3024 void test_useOfUnaryPlusOperator() {
3025 // TODO(brianwilkerson) Wrong errors:
3026 // Expected 1 errors of type ParserErrorCode.MISSING_IDENTIFIER, found 0
1855 super.test_useOfUnaryPlusOperator(); 3027 super.test_useOfUnaryPlusOperator();
1856 } 3028 }
1857 3029
1858 @override 3030 @override
1859 @failingTest 3031 @failingTest
1860 void test_varAndType_field() { 3032 void test_varAndType_field() {
3033 // TODO(brianwilkerson) Wrong errors:
3034 // Expected 1 errors of type ParserErrorCode.VAR_AND_TYPE, found 0
1861 super.test_varAndType_field(); 3035 super.test_varAndType_field();
1862 } 3036 }
1863 3037
1864 @override 3038 @override
1865 @failingTest 3039 @failingTest
1866 void test_varAndType_local() { 3040 void test_varAndType_local() {
3041 // TODO(brianwilkerson) Wrong errors:
3042 // Expected 1 errors of type ParserErrorCode.VAR_AND_TYPE, found 0
1867 super.test_varAndType_local(); 3043 super.test_varAndType_local();
1868 } 3044 }
1869 3045
1870 @override 3046 @override
1871 @failingTest 3047 @failingTest
1872 void test_varAndType_parameter() { 3048 void test_varAndType_parameter() {
3049 // TODO(brianwilkerson) Wrong errors:
3050 // Expected 1 errors of type ParserErrorCode.VAR_AND_TYPE, found 0
1873 super.test_varAndType_parameter(); 3051 super.test_varAndType_parameter();
1874 } 3052 }
1875 3053
1876 @override 3054 @override
1877 @failingTest 3055 @failingTest
1878 void test_varAndType_topLevelVariable() { 3056 void test_varAndType_topLevelVariable() {
3057 // TODO(brianwilkerson) Wrong errors:
3058 // Expected 1 errors of type ParserErrorCode.VAR_AND_TYPE, found 0
1879 super.test_varAndType_topLevelVariable(); 3059 super.test_varAndType_topLevelVariable();
1880 } 3060 }
1881 3061
1882 @override 3062 @override
1883 @failingTest 3063 @failingTest
1884 void test_varAsTypeName_as() { 3064 void test_varAsTypeName_as() {
3065 // TODO(brianwilkerson) Wrong errors:
3066 // Expected 1 errors of type ParserErrorCode.VAR_AS_TYPE_NAME, found 0
1885 super.test_varAsTypeName_as(); 3067 super.test_varAsTypeName_as();
1886 } 3068 }
1887 3069
1888 @override 3070 @override
1889 @failingTest 3071 @failingTest
1890 void test_varClass() { 3072 void test_varClass() {
3073 // TODO(brianwilkerson) Wrong errors:
3074 // Expected 1 errors of type ParserErrorCode.VAR_CLASS, found 0;
3075 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 2 (1, 5)
1891 super.test_varClass(); 3076 super.test_varClass();
1892 } 3077 }
1893 3078
1894 @override 3079 @override
1895 @failingTest 3080 @failingTest
1896 void test_varEnum() { 3081 void test_varEnum() {
3082 // TODO(brianwilkerson) Wrong errors:
3083 // Expected 1 errors of type ParserErrorCode.VAR_ENUM, found 0;
3084 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 2 (1, 5)
1897 super.test_varEnum(); 3085 super.test_varEnum();
1898 } 3086 }
1899 3087
1900 @override 3088 @override
1901 @failingTest 3089 @failingTest
1902 void test_varReturnType() { 3090 void test_varReturnType() {
3091 // TODO(brianwilkerson) Wrong errors:
3092 // Expected 1 errors of type ParserErrorCode.VAR_RETURN_TYPE, found 0;
3093 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (0)
1903 super.test_varReturnType(); 3094 super.test_varReturnType();
1904 } 3095 }
1905 3096
1906 @override 3097 @override
1907 @failingTest 3098 @failingTest
1908 void test_varTypedef() { 3099 void test_varTypedef() {
3100 // TODO(brianwilkerson) Wrong errors:
3101 // Expected 1 errors of type ParserErrorCode.VAR_TYPEDEF, found 0;
3102 // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 2 (1, 5)
1909 super.test_varTypedef(); 3103 super.test_varTypedef();
1910 } 3104 }
1911 3105
1912 @override 3106 @override
1913 @failingTest
1914 void test_voidParameter() {
1915 super.test_voidParameter();
1916 }
1917
1918 @override
1919 // @failingTest 3107 // @failingTest
1920 void test_voidVariable_parseClassMember_initializer() { 3108 void test_voidVariable_parseClassMember_initializer() {
1921 // TODO(brianwilkerson) Passes, but ought to fail. 3109 // TODO(brianwilkerson) Passes, but ought to fail.
1922 super.test_voidVariable_parseClassMember_initializer(); 3110 super.test_voidVariable_parseClassMember_initializer();
1923 } 3111 }
1924 3112
1925 @override 3113 @override
1926 // @failingTest 3114 // @failingTest
1927 void test_voidVariable_parseClassMember_noInitializer() { 3115 void test_voidVariable_parseClassMember_noInitializer() {
1928 // TODO(brianwilkerson) Passes, but ought to fail. 3116 // TODO(brianwilkerson) Passes, but ought to fail.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
1967 @override 3155 @override
1968 // @failingTest 3156 // @failingTest
1969 void test_voidVariable_statement_noInitializer() { 3157 void test_voidVariable_statement_noInitializer() {
1970 // TODO(brianwilkerson) Passes, but ought to fail. 3158 // TODO(brianwilkerson) Passes, but ought to fail.
1971 super.test_voidVariable_statement_noInitializer(); 3159 super.test_voidVariable_statement_noInitializer();
1972 } 3160 }
1973 3161
1974 @override 3162 @override
1975 @failingTest 3163 @failingTest
1976 void test_withBeforeExtends() { 3164 void test_withBeforeExtends() {
3165 // TODO(brianwilkerson) Wrong errors:
3166 // Expected 1 errors of type ParserErrorCode.WITH_BEFORE_EXTENDS, found 0
1977 super.test_withBeforeExtends(); 3167 super.test_withBeforeExtends();
1978 } 3168 }
1979 3169
1980 @override 3170 @override
1981 @failingTest 3171 @failingTest
1982 void test_withWithoutExtends() { 3172 void test_withWithoutExtends() {
3173 // TODO(brianwilkerson) Wrong errors:
3174 // Expected 1 errors of type ParserErrorCode.WITH_WITHOUT_EXTENDS, found 0
1983 super.test_withWithoutExtends(); 3175 super.test_withWithoutExtends();
1984 } 3176 }
1985 3177
1986 @override 3178 @override
1987 @failingTest 3179 @failingTest
1988 void test_wrongSeparatorForPositionalParameter() { 3180 void test_wrongSeparatorForPositionalParameter() {
3181 // TODO(brianwilkerson) Wrong errors:
3182 // Expected 1 errors of type ParserErrorCode.WRONG_SEPARATOR_FOR_POSITIONAL_ PARAMETER, found 0
1989 super.test_wrongSeparatorForPositionalParameter(); 3183 super.test_wrongSeparatorForPositionalParameter();
1990 } 3184 }
1991 3185
1992 @override 3186 @override
1993 @failingTest 3187 @failingTest
1994 void test_wrongTerminatorForParameterGroup_named() { 3188 void test_wrongTerminatorForParameterGroup_named() {
3189 // TODO(brianwilkerson) Wrong errors:
3190 // Expected 1 errors of type ParserErrorCode.WRONG_TERMINATOR_FOR_PARAMETER_ GROUP, found 0;
3191 // 1 errors of type ScannerErrorCode.EXPECTED_TOKEN, found 0
1995 super.test_wrongTerminatorForParameterGroup_named(); 3192 super.test_wrongTerminatorForParameterGroup_named();
1996 } 3193 }
1997 3194
1998 @override 3195 @override
1999 @failingTest 3196 @failingTest
2000 void test_wrongTerminatorForParameterGroup_optional() { 3197 void test_wrongTerminatorForParameterGroup_optional() {
3198 // TODO(brianwilkerson) Wrong errors:
3199 // Expected 1 errors of type ParserErrorCode.WRONG_TERMINATOR_FOR_PARAMETER_ GROUP, found 0;
3200 // 1 errors of type ScannerErrorCode.EXPECTED_TOKEN, found 0
2001 super.test_wrongTerminatorForParameterGroup_optional(); 3201 super.test_wrongTerminatorForParameterGroup_optional();
2002 } 3202 }
2003 } 3203 }
2004 3204
2005 /** 3205 /**
2006 * Tests of the fasta parser based on [ExpressionParserTestMixin]. 3206 * Tests of the fasta parser based on [ExpressionParserTestMixin].
2007 */ 3207 */
2008 @reflectiveTest 3208 @reflectiveTest
2009 class ExpressionParserTest_Fasta extends FastaParserTestCase 3209 class ExpressionParserTest_Fasta extends FastaParserTestCase
2010 with ExpressionParserTestMixin { 3210 with ExpressionParserTestMixin {
(...skipping 2163 matching lines...) Expand 10 before | Expand all | Expand 10 after
4174 @override 5374 @override
4175 @failingTest 5375 @failingTest
4176 void test_parseTypeArgumentList_nested_withComment_tripple() { 5376 void test_parseTypeArgumentList_nested_withComment_tripple() {
4177 // TODO(brianwilkerson) Does not capture comment when splitting '>>' into 5377 // TODO(brianwilkerson) Does not capture comment when splitting '>>' into
4178 // two tokens. 5378 // two tokens.
4179 super.test_parseTypeArgumentList_nested_withComment_tripple(); 5379 super.test_parseTypeArgumentList_nested_withComment_tripple();
4180 } 5380 }
4181 5381
4182 @override 5382 @override
4183 @failingTest 5383 @failingTest
4184 void test_parseTypeParameterList_parameterizedWithTrailingEquals() {
4185 super.test_parseTypeParameterList_parameterizedWithTrailingEquals();
4186 }
4187
4188 @override
4189 @failingTest
4190 void test_parseTypeParameterList_single() { 5384 void test_parseTypeParameterList_single() {
4191 // TODO(brianwilkerson) Does not use all tokens. 5385 // TODO(brianwilkerson) Does not use all tokens.
4192 super.test_parseTypeParameterList_single(); 5386 super.test_parseTypeParameterList_single();
4193 } 5387 }
4194 5388
4195 @override 5389 @override
4196 @failingTest 5390 @failingTest
4197 void test_parseTypeParameterList_withTrailingEquals() {
4198 super.test_parseTypeParameterList_withTrailingEquals();
4199 }
4200
4201 @override
4202 @failingTest
4203 void test_parseVariableDeclaration_equals() { 5391 void test_parseVariableDeclaration_equals() {
4204 // TODO(brianwilkerson) exception: 5392 // TODO(brianwilkerson) exception:
4205 // NoSuchMethodError: Class 'ParserProxy' has no instance method 'parseVaria bleDeclaration'. 5393 // NoSuchMethodError: Class 'ParserProxy' has no instance method 'parseVaria bleDeclaration'.
4206 super.test_parseVariableDeclaration_equals(); 5394 super.test_parseVariableDeclaration_equals();
4207 } 5395 }
4208 5396
4209 @override 5397 @override
4210 @failingTest 5398 @failingTest
4211 void test_parseVariableDeclaration_noEquals() { 5399 void test_parseVariableDeclaration_noEquals() {
4212 // TODO(brianwilkerson) exception: 5400 // TODO(brianwilkerson) exception:
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
4389 @override 5577 @override
4390 @failingTest 5578 @failingTest
4391 void test_parseDirectives_mixed() { 5579 void test_parseDirectives_mixed() {
4392 // TODO(paulberry,ahe): This test verifies the analyzer parser's ability to 5580 // TODO(paulberry,ahe): This test verifies the analyzer parser's ability to
4393 // stop parsing as soon as the first non-directive is encountered; this is 5581 // stop parsing as soon as the first non-directive is encountered; this is
4394 // useful for quickly traversing an import graph. Consider adding a similar 5582 // useful for quickly traversing an import graph. Consider adding a similar
4395 // ability to Fasta's parser. 5583 // ability to Fasta's parser.
4396 super.test_parseDirectives_mixed(); 5584 super.test_parseDirectives_mixed();
4397 } 5585 }
4398 } 5586 }
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