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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/analyzer/test/generated/parser_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/parser_fasta_test.dart
diff --git a/pkg/analyzer/test/generated/parser_fasta_test.dart b/pkg/analyzer/test/generated/parser_fasta_test.dart
index 96de2bc9e770ea8256c098b28b59f41d3db34dfc..e844125cc9b8c996107134bbb0b739cdfeb680aa 100644
--- a/pkg/analyzer/test/generated/parser_fasta_test.dart
+++ b/pkg/analyzer/test/generated/parser_fasta_test.dart
@@ -405,492 +405,815 @@ class ErrorParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
void test_directiveAfterDeclaration_classBetweenDirectives() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.DIRECTIVE_AFTER_DECLARATION, found 0
super.test_directiveAfterDeclaration_classBetweenDirectives();
}
@override
@failingTest
void test_duplicatedModifier_const() {
+ // TODO(brianwilkerson) Does not recover.
+ // UnimplementedError: Failed to map ConstFieldWithoutInitializer at 12
+ // package:analyzer/src/fasta/ast_builder.dart 1968:7 AstBuilder.addCompileTimeError
+ // package:front_end/src/fasta/source/stack_listener.dart 271:5 StackListener.handleRecoverableError
+ // test/generated/parser_fasta_listener.dart 1420:14 ForwardingTestListener.handleRecoverableError
+ // package:front_end/src/fasta/parser/parser.dart 4085:16 Parser.reportRecoverableError
+ // package:front_end/src/fasta/parser/parser.dart 1904:11 Parser.parseFieldInitializerOpt
+ // package:front_end/src/fasta/parser/parser.dart 1675:13 Parser.parseFields
+ // package:front_end/src/fasta/parser/parser.dart 2322:11 Parser.parseMember
+ // test/generated/parser_fasta_test.dart 2825:39 ParserProxy._run
super.test_duplicatedModifier_const();
}
@override
@failingTest
void test_duplicatedModifier_external() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.DUPLICATED_MODIFIER, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (9)
super.test_duplicatedModifier_external();
}
@override
@failingTest
void test_duplicatedModifier_factory() {
+ // TODO(brianwilkerson) Does not recover.
+ // UnimplementedError: Failed to map Instance of 'Message' at C
+ // package:analyzer/src/fasta/ast_builder.dart 1091:7 AstBuilder.handleUnrecoverableError
+ // test/generated/parser_fasta_listener.dart 1498:21 ForwardingTestListener.handleUnrecoverableError
+ // package:front_end/src/fasta/parser/parser.dart 4076:23 Parser.reportUnrecoverableError
+ // package:front_end/src/fasta/parser/parser.dart 947:14 Parser.expect
+ // package:front_end/src/fasta/parser/parser.dart 610:5 Parser.parseFormalParameters
+ // package:front_end/src/fasta/parser/parser.dart 2454:13 Parser.parseFactoryMethod
+ // package:front_end/src/fasta/parser/parser.dart 2240:15 Parser.parseMember
+ // test/generated/parser_fasta_test.dart 2825:39 ParserProxy._run
super.test_duplicatedModifier_factory();
}
@override
@failingTest
void test_duplicatedModifier_final() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.DUPLICATED_MODIFIER, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (6)
super.test_duplicatedModifier_final();
}
@override
@failingTest
void test_duplicatedModifier_static() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.DUPLICATED_MODIFIER, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (7)
super.test_duplicatedModifier_static();
}
@override
@failingTest
void test_duplicatedModifier_var() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.DUPLICATED_MODIFIER, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (4)
super.test_duplicatedModifier_var();
}
@override
@failingTest
void test_duplicateLabelInSwitchStatement() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.DUPLICATE_LABEL_IN_SWITCH_STATEMENT, found 0
super.test_duplicateLabelInSwitchStatement();
}
@override
@failingTest
void test_emptyEnumBody() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EMPTY_ENUM_BODY, found 0
super.test_emptyEnumBody();
}
@override
@failingTest
void test_enumInClass() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.ENUM_IN_CLASS, found 0
super.test_enumInClass();
}
@override
@failingTest
void test_equalityCannotBeEqualityOperand_eq_eq() {
+ // TODO(brianwilkerson) Does not recover (fails to parse all tokens).
super.test_equalityCannotBeEqualityOperand_eq_eq();
}
@override
@failingTest
void test_equalityCannotBeEqualityOperand_eq_neq() {
+ // TODO(brianwilkerson) Does not recover (fails to parse all tokens).
super.test_equalityCannotBeEqualityOperand_eq_neq();
}
@override
@failingTest
void test_equalityCannotBeEqualityOperand_neq_eq() {
+ // TODO(brianwilkerson) Does not recover (fails to parse all tokens).
super.test_equalityCannotBeEqualityOperand_neq_eq();
}
@override
@failingTest
void test_expectedCaseOrDefault() {
+ // TODO(brianwilkerson) Does not recover.
+ // Bad state: No element
+ // dart:core List.last
+ // package:analyzer/src/fasta/ast_builder.dart 951:13 AstBuilder.endSwitchCase
+ // test/generated/parser_fasta_listener.dart 1010:14 ForwardingTestListener.endSwitchCase
+ // package:front_end/src/fasta/parser/parser.dart 3991:14 Parser.parseSwitchCase
+ // package:front_end/src/fasta/parser/parser.dart 3914:15 Parser.parseSwitchBlock
+ // package:front_end/src/fasta/parser/parser.dart 3900:13 Parser.parseSwitchStatement
+ // package:front_end/src/fasta/parser/parser.dart 2760:14 Parser.parseStatementX
+ // package:front_end/src/fasta/parser/parser.dart 2722:20 Parser.parseStatement
+ // test/generated/parser_fasta_test.dart 2903:39 ParserProxy._run
super.test_expectedCaseOrDefault();
}
@override
@failingTest
void test_expectedClassMember_inClass_afterType() {
+ // TODO(brianwilkerson) Does not recover.
+ // Expected: an object with length of <1>
+ // Actual: <Instance of 'Stack'>
+ // Which: has length of <2>
+ //
+ // package:test expect
+ // test/generated/parser_fasta_test.dart 2870:7 ParserProxy._run
+ // test/generated/parser_fasta_test.dart 2750:18 ParserProxy.parseClassMember
super.test_expectedClassMember_inClass_afterType();
}
@override
@failingTest
void test_expectedClassMember_inClass_beforeType() {
+ // TODO(brianwilkerson) Does not recover.
+ // Expected: an object with length of <1>
+ // Actual: <Instance of 'Stack'>
+ // Which: has length of <2>
+ //
+ // package:test expect
+ // test/generated/parser_fasta_test.dart 2870:7 ParserProxy._run
+ // test/generated/parser_fasta_test.dart 2750:18 ParserProxy.parseClassMember
super.test_expectedClassMember_inClass_beforeType();
}
@override
@failingTest
void test_expectedExecutable_inClass_afterVoid() {
+ // TODO(brianwilkerson) Does not recover.
+ // Expected: an object with length of <1>
+ // Actual: <Instance of 'Stack'>
+ // Which: has length of <2>
+ //
+ // package:test expect
+ // test/generated/parser_fasta_test.dart 2870:7 ParserProxy._run
+ // test/generated/parser_fasta_test.dart 2750:18 ParserProxy.parseClassMember
super.test_expectedExecutable_inClass_afterVoid();
}
@override
@failingTest
void test_expectedExecutable_topLevel_afterType() {
+ // TODO(brianwilkerson) Does not recover.
+ // Expected CompilationUnit, but found [CompilationUnit, TopLevelMember]
+ // package:test fail
+ // test/generated/parser_fasta_listener.dart 50:7 ForwardingTestListener.expectIn
+ // test/generated/parser_fasta_listener.dart 1030:5 ForwardingTestListener.endTopLevelDeclaration
+ // package:front_end/src/fasta/parser/parser.dart 264:14 Parser.parseTopLevelDeclaration
+ // test/generated/parser_fasta_test.dart 2815:22 ParserProxy.parseTopLevelDeclaration
super.test_expectedExecutable_topLevel_afterType();
}
@override
@failingTest
void test_expectedExecutable_topLevel_afterVoid() {
+ // TODO(brianwilkerson) Does not recover.
+ // Expected CompilationUnit, but found [CompilationUnit, TopLevelMember]
+ // package:test fail
+ // test/generated/parser_fasta_listener.dart 50:7 ForwardingTestListener.expectIn
+ // test/generated/parser_fasta_listener.dart 1030:5 ForwardingTestListener.endTopLevelDeclaration
+ // package:front_end/src/fasta/parser/parser.dart 264:14 Parser.parseTopLevelDeclaration
+ // test/generated/parser_fasta_test.dart 2815:22 ParserProxy.parseTopLevelDeclaration
super.test_expectedExecutable_topLevel_afterVoid();
}
@override
@failingTest
void test_expectedExecutable_topLevel_beforeType() {
+ // TODO(brianwilkerson) Does not recover.
+ // Expected: true
+ // Actual: <false>
+ //
+ // package:test expect
+ // test/generated/parser_fasta_test.dart 2852:5 ParserProxy.parseTopLevelDeclaration
super.test_expectedExecutable_topLevel_beforeType();
}
@override
@failingTest
void test_expectedExecutable_topLevel_eof() {
+ // TODO(brianwilkerson) Does not recover.
+ // Expected CompilationUnit, but found [CompilationUnit, TopLevelMember]
+ // package:test fail
+ // test/generated/parser_fasta_listener.dart 50:7 ForwardingTestListener.expectIn
+ // test/generated/parser_fasta_listener.dart 1030:5 ForwardingTestListener.endTopLevelDeclaration
+ // package:front_end/src/fasta/parser/parser.dart 264:14 Parser.parseTopLevelDeclaration
+ // test/generated/parser_fasta_test.dart 2851:22 ParserProxy.parseTopLevelDeclaration
super.test_expectedExecutable_topLevel_eof();
}
@override
@failingTest
void test_expectedInterpolationIdentifier() {
+ // TODO(brianwilkerson) Does not recover.
+ // RangeError: Value not in range: -1
+ // dart:core _StringBase.substring
+ // package:front_end/src/fasta/quote.dart 130:12 unescapeLastStringPart
+ // package:analyzer/src/fasta/ast_builder.dart 187:17 AstBuilder.endLiteralString
+ // test/generated/parser_fasta_listener.dart 896:14 ForwardingTestListener.endLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3497:14 Parser.parseSingleLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3434:13 Parser.parseLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3133:14 Parser.parsePrimary
+ // package:front_end/src/fasta/parser/parser.dart 3097:14 Parser.parseUnaryExpression
+ // package:front_end/src/fasta/parser/parser.dart 2968:13 Parser.parsePrecedenceExpression
+ // package:front_end/src/fasta/parser/parser.dart 2942:11 Parser.parseExpression
+ // test/generated/parser_fasta_test.dart 2929:39 ParserProxy._run
super.test_expectedInterpolationIdentifier();
}
@override
@failingTest
void test_expectedInterpolationIdentifier_emptyString() {
+ // TODO(brianwilkerson) Does not recover.
+ // RangeError: Value not in range: -1
+ // dart:core _StringBase.substring
+ // package:front_end/src/fasta/quote.dart 130:12 unescapeLastStringPart
+ // package:analyzer/src/fasta/ast_builder.dart 187:17 AstBuilder.endLiteralString
+ // test/generated/parser_fasta_listener.dart 896:14 ForwardingTestListener.endLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3497:14 Parser.parseSingleLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3434:13 Parser.parseLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3133:14 Parser.parsePrimary
+ // package:front_end/src/fasta/parser/parser.dart 3097:14 Parser.parseUnaryExpression
+ // package:front_end/src/fasta/parser/parser.dart 2968:13 Parser.parsePrecedenceExpression
+ // package:front_end/src/fasta/parser/parser.dart 2942:11 Parser.parseExpression
+ // test/generated/parser_fasta_test.dart 2929:39 ParserProxy._run
super.test_expectedInterpolationIdentifier_emptyString();
}
@override
@failingTest
void test_expectedListOrMapLiteral() {
+ // TODO(brianwilkerson) Does not recover.
+ // type 'IntegerLiteralImpl' is not a subtype of type 'TypedLiteral' in type cast where
+ // IntegerLiteralImpl is from package:analyzer/src/dart/ast/ast.dart
+ // TypedLiteral is from package:analyzer/dart/ast/ast.dart
+ //
+ // dart:core Object._as
+ // test/generated/parser_fasta_test.dart 2480:48 FastaParserTestCase.parseListOrMapLiteral
super.test_expectedListOrMapLiteral();
}
@override
@failingTest
void test_expectedStringLiteral() {
+ // TODO(brianwilkerson) Does not recover.
+ // type 'IntegerLiteralImpl' is not a subtype of type 'StringLiteral' of 'literal' where
+ // IntegerLiteralImpl is from package:analyzer/src/dart/ast/ast.dart
+ // StringLiteral is from package:analyzer/dart/ast/ast.dart
+ //
+ // test/generated/parser_test.dart 2652:29 FastaParserTestCase&ErrorParserTestMixin.test_expectedStringLiteral
super.test_expectedStringLiteral();
}
@override
@failingTest
void test_expectedToken_commaMissingInArgumentList() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXPECTED_TOKEN, found 0
super.test_expectedToken_commaMissingInArgumentList();
}
@override
@failingTest
void test_expectedToken_parseStatement_afterVoid() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXPECTED_TOKEN, found 0;
+ // 1 errors of type ParserErrorCode.MISSING_IDENTIFIER, found 0
super.test_expectedToken_parseStatement_afterVoid();
}
@override
@failingTest
void test_expectedToken_semicolonMissingAfterExpression() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXPECTED_TOKEN, found 0
super.test_expectedToken_semicolonMissingAfterExpression();
}
@override
@failingTest
void test_expectedToken_semicolonMissingAfterImport() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXPECTED_TOKEN, found 0
super.test_expectedToken_semicolonMissingAfterImport();
}
@override
@failingTest
void test_expectedToken_whileMissingInDoStatement() {
+ // TODO(brianwilkerson) Does not recover.
+ // NoSuchMethodError: Class 'SimpleToken' has no instance getter 'endGroup'.
+ // Receiver: Instance of 'SimpleToken'
+ // Tried calling: endGroup
+ // dart:core Object.noSuchMethod
+ // package:front_end/src/fasta/parser/parser.dart 3212:26 Parser.parseParenthesizedExpression
+ // package:front_end/src/fasta/parser/parser.dart 3781:13 Parser.parseDoWhileStatement
+ // package:front_end/src/fasta/parser/parser.dart 2756:14 Parser.parseStatementX
+ // package:front_end/src/fasta/parser/parser.dart 2722:20 Parser.parseStatement
+ // test/generated/parser_fasta_test.dart 2973:39 ParserProxy._run
super.test_expectedToken_whileMissingInDoStatement();
}
@override
@failingTest
void test_expectedTypeName_as() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXPECTED_TYPE_NAME, found 0
super.test_expectedTypeName_as();
}
@override
@failingTest
void test_expectedTypeName_as_void() {
+ // TODO(brianwilkerson) Does not recover.
+ // Expected: true
+ // Actual: <false>
+ //
+ // package:test expect
+ // test/generated/parser_fasta_test.dart 2974:5 ParserProxy._run
+ // test/generated/parser_fasta_test.dart 2661:34 FastaParserTestCase._runParser
super.test_expectedTypeName_as_void();
}
@override
@failingTest
void test_expectedTypeName_is() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXPECTED_TYPE_NAME, found 0
super.test_expectedTypeName_is();
}
@override
@failingTest
void test_expectedTypeName_is_void() {
+ // TODO(brianwilkerson) Does not recover.
+ // Expected: true
+ // Actual: <false>
+ //
+ // package:test expect
+ // test/generated/parser_fasta_test.dart 2999:5 ParserProxy._run
super.test_expectedTypeName_is_void();
}
@override
@failingTest
void test_exportDirectiveAfterPartDirective() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXPORT_DIRECTIVE_AFTER_PART_DIRECTIVE, found 0
super.test_exportDirectiveAfterPartDirective();
}
@override
@failingTest
void test_externalAfterConst() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXTERNAL_AFTER_CONST, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (6)
super.test_externalAfterConst();
}
@override
@failingTest
void test_externalAfterFactory() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXTERNAL_AFTER_FACTORY, found 0
super.test_externalAfterFactory();
}
@override
@failingTest
void test_externalAfterStatic() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXTERNAL_AFTER_STATIC, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (7)
super.test_externalAfterStatic();
}
@override
@failingTest
void test_externalClass() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXTERNAL_CLASS, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (10)
super.test_externalClass();
}
@override
@failingTest
void test_externalConstructorWithBody_factory() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXTERNAL_CONSTRUCTOR_WITH_BODY, found 0
super.test_externalConstructorWithBody_factory();
}
@override
@failingTest
void test_externalConstructorWithBody_named() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXTERNAL_CONSTRUCTOR_WITH_BODY, found 0
super.test_externalConstructorWithBody_named();
}
@override
@failingTest
void test_externalEnum() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXTERNAL_ENUM, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (10)
super.test_externalEnum();
}
@override
@failingTest
void test_externalField_const() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXTERNAL_FIELD, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (0)
super.test_externalField_const();
}
@override
@failingTest
void test_externalField_final() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXTERNAL_FIELD, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (0)
super.test_externalField_final();
}
@override
@failingTest
void test_externalField_static() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXTERNAL_FIELD, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (0)
super.test_externalField_static();
}
@override
@failingTest
void test_externalField_typed() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXTERNAL_FIELD, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (0)
super.test_externalField_typed();
}
@override
@failingTest
void test_externalField_untyped() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXTERNAL_FIELD, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (0)
super.test_externalField_untyped();
}
@override
@failingTest
void test_externalGetterWithBody() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXTERNAL_GETTER_WITH_BODY, found 0
super.test_externalGetterWithBody();
}
@override
@failingTest
void test_externalMethodWithBody() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXTERNAL_METHOD_WITH_BODY, found 0
super.test_externalMethodWithBody();
}
@override
@failingTest
void test_externalOperatorWithBody() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXTERNAL_OPERATOR_WITH_BODY, found 0
super.test_externalOperatorWithBody();
}
@override
@failingTest
void test_externalSetterWithBody() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXTERNAL_SETTER_WITH_BODY, found 0
super.test_externalSetterWithBody();
}
@override
@failingTest
void test_externalTypedef() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXTERNAL_TYPEDEF, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (10)
super.test_externalTypedef();
}
@override
@failingTest
void test_extraCommaInParameterList() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_IDENTIFIER, found 0;
+ // 1 errors of type ParserErrorCode.EXPECTED_TOKEN, found 0
super.test_extraCommaInParameterList();
}
@override
@failingTest
void test_extraCommaTrailingNamedParameterGroup() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.NORMAL_BEFORE_OPTIONAL_PARAMETERS, found 0;
+ // 1 errors of type ParserErrorCode.MISSING_IDENTIFIER, found 0
super.test_extraCommaTrailingNamedParameterGroup();
}
@override
@failingTest
void test_extraCommaTrailingPositionalParameterGroup() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.NORMAL_BEFORE_OPTIONAL_PARAMETERS, found 0;
+ // 1 errors of type ParserErrorCode.MISSING_IDENTIFIER, found 0
super.test_extraCommaTrailingPositionalParameterGroup();
}
@override
@failingTest
void test_extraTrailingCommaInParameterList() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_IDENTIFIER, found 0
super.test_extraTrailingCommaInParameterList();
}
@override
@failingTest
void test_factoryTopLevelDeclaration_class() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.FACTORY_TOP_LEVEL_DECLARATION, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 2 (1, 9)
super.test_factoryTopLevelDeclaration_class();
}
@override
@failingTest
void test_factoryTopLevelDeclaration_enum() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.FACTORY_TOP_LEVEL_DECLARATION, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 2 (1, 9)
super.test_factoryTopLevelDeclaration_enum();
}
@override
@failingTest
void test_factoryTopLevelDeclaration_typedef() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.FACTORY_TOP_LEVEL_DECLARATION, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 2 (1, 9)
super.test_factoryTopLevelDeclaration_typedef();
}
@override
@failingTest
void test_factoryWithInitializers() {
+ // TODO(brianwilkerson) Does not recover.
+ // Internal problem: Compiler cannot run without a compiler context.
+ // Tip: Are calls to the compiler wrapped in CompilerContext.runInContext?
+ // package:front_end/src/fasta/compiler_context.dart 81:7 CompilerContext.current
+ // package:front_end/src/fasta/problems.dart 29:25 internalProblem
+ // package:front_end/src/fasta/problems.dart 41:10 unhandled
+ // package:analyzer/src/fasta/ast_builder.dart 1506:7 AstBuilder.endFactoryMethod
+ // test/generated/parser_fasta_listener.dart 731:14 ForwardingTestListener.endFactoryMethod
+ // package:front_end/src/fasta/parser/parser.dart 2465:14 Parser.parseFactoryMethod
+ // package:front_end/src/fasta/parser/parser.dart 2240:15 Parser.parseMember
+ // test/generated/parser_fasta_test.dart 3051:39 ParserProxy._run
super.test_factoryWithInitializers();
}
@override
@failingTest
void test_factoryWithoutBody() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.FACTORY_WITHOUT_BODY, found 0
super.test_factoryWithoutBody();
}
@override
@failingTest
void test_fieldInitializerOutsideConstructor() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.FIELD_INITIALIZER_OUTSIDE_CONSTRUCTOR, found 0
super.test_fieldInitializerOutsideConstructor();
}
@override
@failingTest
void test_finalAndCovariant() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.FINAL_AND_COVARIANT, found 0
super.test_finalAndCovariant();
}
@override
@failingTest
void test_finalAndVar() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.FINAL_AND_VAR, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (6)
super.test_finalAndVar();
}
@override
@failingTest
void test_finalClass() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.FINAL_CLASS, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 2 (1, 7)
super.test_finalClass();
}
@override
@failingTest
void test_finalConstructor() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.FINAL_CONSTRUCTOR, found 0
super.test_finalConstructor();
}
@override
@failingTest
void test_finalEnum() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.FINAL_ENUM, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 2 (1, 7)
super.test_finalEnum();
}
@override
@failingTest
void test_finalMethod() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.FINAL_METHOD, found 0
super.test_finalMethod();
}
@override
@failingTest
void test_finalTypedef() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.FINAL_TYPEDEF, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 2 (1, 7)
super.test_finalTypedef();
}
@override
@failingTest
void test_functionTypedParameter_const() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.FUNCTION_TYPED_PARAMETER_VAR, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (8)
super.test_functionTypedParameter_const();
}
@override
@failingTest
void test_functionTypedParameter_final() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.FUNCTION_TYPED_PARAMETER_VAR, found 0
super.test_functionTypedParameter_final();
}
@override
@failingTest
void test_functionTypedParameter_incomplete1() {
+ // TODO(brianwilkerson) Does not recover.
+ // type 'FormalParameterListImpl' is not a subtype of type 'TypeParameterList' of 'typeParameters' where
+ // FormalParameterListImpl is from package:analyzer/src/dart/ast/ast.dart
+ // TypeParameterList is from package:analyzer/dart/ast/ast.dart
+ //
+ // package:analyzer/src/fasta/ast_builder.dart 1122:40 AstBuilder.endTopLevelMethod
+ // package:front_end/src/fasta/parser/parser.dart 1741:14 Parser.parseTopLevelMethod
+ // package:front_end/src/fasta/parser/parser.dart 1646:11 Parser.parseTopLevelMember
+ // package:front_end/src/fasta/parser/parser.dart 298:14 Parser._parseTopLevelDeclaration
+ // package:front_end/src/fasta/parser/parser.dart 263:13 Parser.parseTopLevelDeclaration
+ // package:front_end/src/fasta/parser/parser.dart 252:15 Parser.parseUnit
+ // package:analyzer/src/generated/parser_fasta.dart 77:33 _Parser2.parseCompilationUnit2
+ // package:analyzer/src/generated/parser_fasta.dart 72:12 _Parser2.parseCompilationUnit
+ // test/generated/parser_fasta_test.dart 2543:35 FastaParserTestCase.parseCompilationUnit
super.test_functionTypedParameter_incomplete1();
}
@override
@failingTest
void test_functionTypedParameter_var() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.FUNCTION_TYPED_PARAMETER_VAR, found 0
super.test_functionTypedParameter_var();
}
@override
@failingTest
void test_genericFunctionType_extraLessThan() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.UNEXPECTED_TOKEN, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (52)
super.test_genericFunctionType_extraLessThan();
}
@override
@failingTest
void test_getterInFunction_block_noReturnType() {
+ // TODO(brianwilkerson) Does not recover.
+ // type 'ExpressionStatementImpl' is not a subtype of type 'FunctionDeclarationStatement' of 'statement' where
+ // ExpressionStatementImpl is from package:analyzer/src/dart/ast/ast.dart
+ // FunctionDeclarationStatement is from package:analyzer/dart/ast/ast.dart
+ //
+ // test/generated/parser_test.dart 3019:9 FastaParserTestCase&ErrorParserTestMixin.test_getterInFunction_block_noReturnType
super.test_getterInFunction_block_noReturnType();
}
@override
@failingTest
void test_getterInFunction_block_returnType() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.GETTER_IN_FUNCTION, found 0
super.test_getterInFunction_block_returnType();
}
@override
@failingTest
void test_getterInFunction_expression_noReturnType() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.GETTER_IN_FUNCTION, found 0
super.test_getterInFunction_expression_noReturnType();
}
@override
@failingTest
void test_getterInFunction_expression_returnType() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.GETTER_IN_FUNCTION, found 0
super.test_getterInFunction_expression_returnType();
}
@override
@failingTest
void test_getterWithParameters() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.GETTER_WITH_PARAMETERS, found 0
super.test_getterWithParameters();
}
@override
@failingTest
void test_illegalAssignmentToNonAssignable_postfix_minusMinus_literal() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.ILLEGAL_ASSIGNMENT_TO_NON_ASSIGNABLE, found 0
super.test_illegalAssignmentToNonAssignable_postfix_minusMinus_literal();
}
@override
@failingTest
void test_illegalAssignmentToNonAssignable_postfix_plusPlus_literal() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.ILLEGAL_ASSIGNMENT_TO_NON_ASSIGNABLE, found 0
super.test_illegalAssignmentToNonAssignable_postfix_plusPlus_literal();
}
@override
@failingTest
void test_illegalAssignmentToNonAssignable_postfix_plusPlus_parenthesized() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.ILLEGAL_ASSIGNMENT_TO_NON_ASSIGNABLE, found 0
super
.test_illegalAssignmentToNonAssignable_postfix_plusPlus_parenthesized();
}
@@ -898,1024 +1221,1889 @@ class ErrorParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
void test_illegalAssignmentToNonAssignable_primarySelectorPostfix() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.ILLEGAL_ASSIGNMENT_TO_NON_ASSIGNABLE, found 0
super.test_illegalAssignmentToNonAssignable_primarySelectorPostfix();
}
@override
@failingTest
void test_illegalAssignmentToNonAssignable_superAssigned() {
+ // TODO(brianwilkerson) Does not recover.
+ // Expected: true
+ // Actual: <false>
+ //
+ // package:test expect
+ // test/generated/parser_fasta_test.dart 3157:5 ParserProxy._run
super.test_illegalAssignmentToNonAssignable_superAssigned();
}
@override
@failingTest
void test_illegalAssignmentToNonAssignable_superAssigned_failing() {
+ // TODO(brianwilkerson) Does not recover.
+ // Expected: true
+ // Actual: <false>
+ //
+ // package:test expect
+ // test/generated/parser_fasta_test.dart 3157:5 ParserProxy._run
super.test_illegalAssignmentToNonAssignable_superAssigned_failing();
}
@override
@failingTest
void test_implementsBeforeExtends() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.IMPLEMENTS_BEFORE_EXTENDS, found 0
super.test_implementsBeforeExtends();
}
@override
@failingTest
void test_implementsBeforeWith() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.IMPLEMENTS_BEFORE_WITH, found 0
super.test_implementsBeforeWith();
}
@override
@failingTest
void test_importDirectiveAfterPartDirective() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.IMPORT_DIRECTIVE_AFTER_PART_DIRECTIVE, found 0
super.test_importDirectiveAfterPartDirective();
}
@override
@failingTest
void test_initializedVariableInForEach() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.INITIALIZED_VARIABLE_IN_FOR_EACH, found 0
super.test_initializedVariableInForEach();
}
@override
@failingTest
void test_invalidAwaitInFor() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.INVALID_AWAIT_IN_FOR, found 0
super.test_invalidAwaitInFor();
}
@override
@failingTest
void test_invalidCodePoint() {
+ // TODO(brianwilkerson) Does not recover.
+ // Internal problem: Compiler cannot run without a compiler context.
+ // Tip: Are calls to the compiler wrapped in CompilerContext.runInContext?
+ // package:front_end/src/fasta/compiler_context.dart 81:7 CompilerContext.current
+ // package:front_end/src/fasta/command_line_reporting.dart 112:30 shouldThrowOn
+ // package:front_end/src/fasta/deprecated_problems.dart 41:7 deprecated_inputError
+ // package:front_end/src/fasta/quote.dart 181:5 unescapeCodeUnits.error
+ // package:front_end/src/fasta/quote.dart 251:40 unescapeCodeUnits
+ // package:front_end/src/fasta/quote.dart 147:13 unescape
+ // package:front_end/src/fasta/quote.dart 135:10 unescapeString
+ // package:analyzer/src/fasta/ast_builder.dart 159:22 AstBuilder.endLiteralString
+ // test/generated/parser_fasta_listener.dart 896:14 ForwardingTestListener.endLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3497:14 Parser.parseSingleLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3434:13 Parser.parseLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3133:14 Parser.parsePrimary
+ // package:front_end/src/fasta/parser/parser.dart 3097:14 Parser.parseUnaryExpression
+ // package:front_end/src/fasta/parser/parser.dart 2968:13 Parser.parsePrecedenceExpression
+ // package:front_end/src/fasta/parser/parser.dart 2942:11 Parser.parseExpression
+ // test/generated/parser_fasta_test.dart 3196:39 ParserProxy._run
super.test_invalidCodePoint();
}
@override
@failingTest
void test_invalidCommentReference__new_nonIdentifier() {
+ // TODO(brianwilkerson) Parsing comment references not yet supported.
super.test_invalidCommentReference__new_nonIdentifier();
}
@override
@failingTest
void test_invalidCommentReference__new_tooMuch() {
+ // TODO(brianwilkerson) Parsing comment references not yet supported.
super.test_invalidCommentReference__new_tooMuch();
}
@override
@failingTest
void test_invalidCommentReference__nonNew_nonIdentifier() {
+ // TODO(brianwilkerson) Parsing comment references not yet supported.
super.test_invalidCommentReference__nonNew_nonIdentifier();
}
@override
@failingTest
void test_invalidCommentReference__nonNew_tooMuch() {
+ // TODO(brianwilkerson) Parsing comment references not yet supported.
super.test_invalidCommentReference__nonNew_tooMuch();
}
@override
@failingTest
void test_invalidConstructorName_with() {
+ // TODO(brianwilkerson) Does not recover.
+ // type 'DeclaredSimpleIdentifier' is not a subtype of type 'TypeAnnotation' of 'returnType' where
+ // DeclaredSimpleIdentifier is from package:analyzer/src/dart/ast/ast.dart
+ // TypeAnnotation is from package:analyzer/dart/ast/ast.dart
+ //
+ // package:analyzer/src/fasta/ast_builder.dart 1620:33 AstBuilder.endMethod
+ // test/generated/parser_fasta_listener.dart 926:14 ForwardingTestListener.endMethod
+ // package:front_end/src/fasta/parser/parser.dart 2433:14 Parser.parseMethod
+ // package:front_end/src/fasta/parser/parser.dart 2323:11 Parser.parseMember
+ // test/generated/parser_fasta_test.dart 3179:39 ParserProxy._run
super.test_invalidConstructorName_with();
}
@override
@failingTest
void test_invalidHexEscape_invalidDigit() {
+ // TODO(brianwilkerson) Does not recover.
+ // Internal problem: Compiler cannot run without a compiler context.
+ // Tip: Are calls to the compiler wrapped in CompilerContext.runInContext?
+ // package:front_end/src/fasta/compiler_context.dart 81:7 CompilerContext.current
+ // package:front_end/src/fasta/command_line_reporting.dart 112:30 shouldThrowOn
+ // package:front_end/src/fasta/deprecated_problems.dart 41:7 deprecated_inputError
+ // package:front_end/src/fasta/quote.dart 181:5 unescapeCodeUnits.error
+ // package:front_end/src/fasta/quote.dart 221:47 unescapeCodeUnits
+ // package:front_end/src/fasta/quote.dart 147:13 unescape
+ // package:front_end/src/fasta/quote.dart 135:10 unescapeString
+ // package:analyzer/src/fasta/ast_builder.dart 159:22 AstBuilder.endLiteralString
+ // test/generated/parser_fasta_listener.dart 896:14 ForwardingTestListener.endLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3497:14 Parser.parseSingleLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3434:13 Parser.parseLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3133:14 Parser.parsePrimary
+ // package:front_end/src/fasta/parser/parser.dart 3097:14 Parser.parseUnaryExpression
+ // package:front_end/src/fasta/parser/parser.dart 2968:13 Parser.parsePrecedenceExpression
+ // package:front_end/src/fasta/parser/parser.dart 2942:11 Parser.parseExpression
+ // test/generated/parser_fasta_test.dart 3196:39 ParserProxy._run
super.test_invalidHexEscape_invalidDigit();
}
@override
@failingTest
void test_invalidHexEscape_tooFewDigits() {
+ // TODO(brianwilkerson) Does not recover.
+ // Internal problem: Compiler cannot run without a compiler context.
+ // Tip: Are calls to the compiler wrapped in CompilerContext.runInContext?
+ // package:front_end/src/fasta/compiler_context.dart 81:7 CompilerContext.current
+ // package:front_end/src/fasta/command_line_reporting.dart 112:30 shouldThrowOn
+ // package:front_end/src/fasta/deprecated_problems.dart 41:7 deprecated_inputError
+ // package:front_end/src/fasta/quote.dart 181:5 unescapeCodeUnits.error
+ // package:front_end/src/fasta/quote.dart 217:52 unescapeCodeUnits
+ // package:front_end/src/fasta/quote.dart 147:13 unescape
+ // package:front_end/src/fasta/quote.dart 135:10 unescapeString
+ // package:analyzer/src/fasta/ast_builder.dart 159:22 AstBuilder.endLiteralString
+ // test/generated/parser_fasta_listener.dart 896:14 ForwardingTestListener.endLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3497:14 Parser.parseSingleLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3434:13 Parser.parseLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3133:14 Parser.parsePrimary
+ // package:front_end/src/fasta/parser/parser.dart 3097:14 Parser.parseUnaryExpression
+ // package:front_end/src/fasta/parser/parser.dart 2968:13 Parser.parsePrecedenceExpression
+ // package:front_end/src/fasta/parser/parser.dart 2942:11 Parser.parseExpression
+ // test/generated/parser_fasta_test.dart 3196:39 ParserProxy._run
super.test_invalidHexEscape_tooFewDigits();
}
@override
@failingTest
void test_invalidInterpolationIdentifier_startWithDigit() {
+ // TODO(brianwilkerson) Does not recover.
+ // RangeError: Value not in range: -1
+ // dart:core _StringBase.substring
+ // package:front_end/src/fasta/quote.dart 130:12 unescapeLastStringPart
+ // package:analyzer/src/fasta/ast_builder.dart 181:17 AstBuilder.endLiteralString
+ // test/generated/parser_fasta_listener.dart 896:14 ForwardingTestListener.endLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3497:14 Parser.parseSingleLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3434:13 Parser.parseLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3133:14 Parser.parsePrimary
+ // package:front_end/src/fasta/parser/parser.dart 3097:14 Parser.parseUnaryExpression
+ // package:front_end/src/fasta/parser/parser.dart 2968:13 Parser.parsePrecedenceExpression
+ // package:front_end/src/fasta/parser/parser.dart 2942:11 Parser.parseExpression
+ // test/generated/parser_fasta_test.dart 3196:39 ParserProxy._run
super.test_invalidInterpolationIdentifier_startWithDigit();
}
@override
@failingTest
void test_invalidLiteralInConfiguration() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.INVALID_LITERAL_IN_CONFIGURATION, found 0
super.test_invalidLiteralInConfiguration();
}
@override
@failingTest
void test_invalidOperator() {
+ // TODO(brianwilkerson) Does not recover.
+ // type 'SimpleIdentifierImpl' is not a subtype of type 'TypeAnnotation' of 'returnType' where
+ // SimpleIdentifierImpl is from package:analyzer/src/dart/ast/ast.dart
+ // TypeAnnotation is from package:analyzer/dart/ast/ast.dart
+ //
+ // package:analyzer/src/fasta/ast_builder.dart 1620:33 AstBuilder.endMethod
+ // test/generated/parser_fasta_listener.dart 926:14 ForwardingTestListener.endMethod
+ // package:front_end/src/fasta/parser/parser.dart 2433:14 Parser.parseMethod
+ // package:front_end/src/fasta/parser/parser.dart 2323:11 Parser.parseMember
+ // test/generated/parser_fasta_test.dart 3196:39 ParserProxy._run
super.test_invalidOperator();
}
@override
@failingTest
void test_invalidOperatorAfterSuper_assignableExpression() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.INVALID_OPERATOR_FOR_SUPER, found 0
super.test_invalidOperatorAfterSuper_assignableExpression();
}
@override
@failingTest
void test_invalidOperatorAfterSuper_primaryExpression() {
+ // TODO(brianwilkerson) Does not recover.
+ // Expected: true
+ // Actual: <false>
+ //
+ // package:test expect
+ // test/generated/parser_fasta_test.dart 3197:5 ParserProxy._run
super.test_invalidOperatorAfterSuper_primaryExpression();
}
@override
@failingTest
void test_invalidOperatorForSuper() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.INVALID_OPERATOR_FOR_SUPER, found 0
super.test_invalidOperatorForSuper();
}
@override
@failingTest
void test_invalidStarAfterAsync() {
+ // TODO(brianwilkerson) Does not recover.
+ // Expected: an object with length of <1>
+ // Actual: <Instance of 'Stack'>
+ // Which: has length of <0>
+ //
+ // package:test expect
+ // test/generated/parser_fasta_test.dart 3290:7 ParserProxy._run
super.test_invalidStarAfterAsync();
}
@override
@failingTest
void test_invalidSync() {
+ // TODO(brianwilkerson) Does not recover.
+ // Expected: an object with length of <1>
+ // Actual: <Instance of 'Stack'>
+ // Which: has length of <0>
+ //
+ // package:test expect
+ // test/generated/parser_fasta_test.dart 3290:7 ParserProxy._run
super.test_invalidSync();
}
@override
@failingTest
void test_invalidUnicodeEscape_incomplete_noDigits() {
+ // TODO(brianwilkerson) Does not recover.
+ // Internal problem: Compiler cannot run without a compiler context.
+ // Tip: Are calls to the compiler wrapped in CompilerContext.runInContext?
+ // package:front_end/src/fasta/compiler_context.dart 81:7 CompilerContext.current
+ // package:front_end/src/fasta/command_line_reporting.dart 112:30 shouldThrowOn
+ // package:front_end/src/fasta/deprecated_problems.dart 41:7 deprecated_inputError
+ // package:front_end/src/fasta/quote.dart 181:5 unescapeCodeUnits.error
+ // package:front_end/src/fasta/quote.dart 232:54 unescapeCodeUnits
+ // package:front_end/src/fasta/quote.dart 147:13 unescape
+ // package:front_end/src/fasta/quote.dart 135:10 unescapeString
+ // package:analyzer/src/fasta/ast_builder.dart 159:22 AstBuilder.endLiteralString
+ // test/generated/parser_fasta_listener.dart 896:14 ForwardingTestListener.endLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3497:14 Parser.parseSingleLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3434:13 Parser.parseLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3133:14 Parser.parsePrimary
+ // package:front_end/src/fasta/parser/parser.dart 3097:14 Parser.parseUnaryExpression
+ // package:front_end/src/fasta/parser/parser.dart 2968:13 Parser.parsePrecedenceExpression
+ // package:front_end/src/fasta/parser/parser.dart 2942:11 Parser.parseExpression
+ // package:front_end/src/fasta/parser/parser.dart 2862:13 Parser.parseExpressionStatement
+ // package:front_end/src/fasta/parser/parser.dart 2790:14 Parser.parseStatementX
+ // package:front_end/src/fasta/parser/parser.dart 2722:20 Parser.parseStatement
+ // test/generated/parser_fasta_test.dart 3287:39 ParserProxy._run
super.test_invalidUnicodeEscape_incomplete_noDigits();
}
@override
@failingTest
void test_invalidUnicodeEscape_incomplete_someDigits() {
+ // TODO(brianwilkerson) Does not recover.
+ // Internal problem: Compiler cannot run without a compiler context.
+ // Tip: Are calls to the compiler wrapped in CompilerContext.runInContext?
+ // package:front_end/src/fasta/compiler_context.dart 81:7 CompilerContext.current
+ // package:front_end/src/fasta/command_line_reporting.dart 112:30 shouldThrowOn
+ // package:front_end/src/fasta/deprecated_problems.dart 41:7 deprecated_inputError
+ // package:front_end/src/fasta/quote.dart 181:5 unescapeCodeUnits.error
+ // package:front_end/src/fasta/quote.dart 232:54 unescapeCodeUnits
+ // package:front_end/src/fasta/quote.dart 147:13 unescape
+ // package:front_end/src/fasta/quote.dart 135:10 unescapeString
+ // package:analyzer/src/fasta/ast_builder.dart 159:22 AstBuilder.endLiteralString
+ // test/generated/parser_fasta_listener.dart 896:14 ForwardingTestListener.endLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3497:14 Parser.parseSingleLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3434:13 Parser.parseLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3133:14 Parser.parsePrimary
+ // package:front_end/src/fasta/parser/parser.dart 3097:14 Parser.parseUnaryExpression
+ // package:front_end/src/fasta/parser/parser.dart 2968:13 Parser.parsePrecedenceExpression
+ // package:front_end/src/fasta/parser/parser.dart 2942:11 Parser.parseExpression
+ // package:front_end/src/fasta/parser/parser.dart 2862:13 Parser.parseExpressionStatement
+ // package:front_end/src/fasta/parser/parser.dart 2790:14 Parser.parseStatementX
+ // package:front_end/src/fasta/parser/parser.dart 2722:20 Parser.parseStatement
+ // test/generated/parser_fasta_test.dart 3287:39 ParserProxy._run
super.test_invalidUnicodeEscape_incomplete_someDigits();
}
@override
@failingTest
void test_invalidUnicodeEscape_invalidDigit() {
+ // TODO(brianwilkerson) Does not recover.
+ // Internal problem: Compiler cannot run without a compiler context.
+ // Tip: Are calls to the compiler wrapped in CompilerContext.runInContext?
+ // package:front_end/src/fasta/compiler_context.dart 81:7 CompilerContext.current
+ // package:front_end/src/fasta/command_line_reporting.dart 112:30 shouldThrowOn
+ // package:front_end/src/fasta/deprecated_problems.dart 41:7 deprecated_inputError
+ // package:front_end/src/fasta/quote.dart 181:5 unescapeCodeUnits.error
+ // package:front_end/src/fasta/quote.dart 240:54 unescapeCodeUnits
+ // package:front_end/src/fasta/quote.dart 147:13 unescape
+ // package:front_end/src/fasta/quote.dart 135:10 unescapeString
+ // package:analyzer/src/fasta/ast_builder.dart 159:22 AstBuilder.endLiteralString
+ // test/generated/parser_fasta_listener.dart 896:14 ForwardingTestListener.endLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3497:14 Parser.parseSingleLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3434:13 Parser.parseLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3133:14 Parser.parsePrimary
+ // package:front_end/src/fasta/parser/parser.dart 3097:14 Parser.parseUnaryExpression
+ // package:front_end/src/fasta/parser/parser.dart 2968:13 Parser.parsePrecedenceExpression
+ // package:front_end/src/fasta/parser/parser.dart 2942:11 Parser.parseExpression
+ // package:front_end/src/fasta/parser/parser.dart 2862:13 Parser.parseExpressionStatement
+ // package:front_end/src/fasta/parser/parser.dart 2790:14 Parser.parseStatementX
+ // package:front_end/src/fasta/parser/parser.dart 2722:20 Parser.parseStatement
+ // test/generated/parser_fasta_test.dart 3287:39 ParserProxy._run
super.test_invalidUnicodeEscape_invalidDigit();
}
@override
@failingTest
void test_invalidUnicodeEscape_tooFewDigits_fixed() {
+ // TODO(brianwilkerson) Does not recover.
+ // Internal problem: Compiler cannot run without a compiler context.
+ // Tip: Are calls to the compiler wrapped in CompilerContext.runInContext?
+ // package:front_end/src/fasta/compiler_context.dart 81:7 CompilerContext.current
+ // package:front_end/src/fasta/command_line_reporting.dart 112:30 shouldThrowOn
+ // package:front_end/src/fasta/deprecated_problems.dart 41:7 deprecated_inputError
+ // package:front_end/src/fasta/quote.dart 181:5 unescapeCodeUnits.error
+ // package:front_end/src/fasta/quote.dart 240:54 unescapeCodeUnits
+ // package:front_end/src/fasta/quote.dart 147:13 unescape
+ // package:front_end/src/fasta/quote.dart 135:10 unescapeString
+ // package:analyzer/src/fasta/ast_builder.dart 159:22 AstBuilder.endLiteralString
+ // test/generated/parser_fasta_listener.dart 896:14 ForwardingTestListener.endLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3497:14 Parser.parseSingleLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3434:13 Parser.parseLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3133:14 Parser.parsePrimary
+ // package:front_end/src/fasta/parser/parser.dart 3097:14 Parser.parseUnaryExpression
+ // package:front_end/src/fasta/parser/parser.dart 2968:13 Parser.parsePrecedenceExpression
+ // package:front_end/src/fasta/parser/parser.dart 2942:11 Parser.parseExpression
+ // package:front_end/src/fasta/parser/parser.dart 2862:13 Parser.parseExpressionStatement
+ // package:front_end/src/fasta/parser/parser.dart 2790:14 Parser.parseStatementX
+ // package:front_end/src/fasta/parser/parser.dart 2722:20 Parser.parseStatement
+ // test/generated/parser_fasta_test.dart 3287:39 ParserProxy._run
super.test_invalidUnicodeEscape_tooFewDigits_fixed();
}
@override
@failingTest
void test_invalidUnicodeEscape_tooFewDigits_variable() {
+ // TODO(brianwilkerson) Does not recover.
+ // Internal problem: Compiler cannot run without a compiler context.
+ // Tip: Are calls to the compiler wrapped in CompilerContext.runInContext?
+ // package:front_end/src/fasta/compiler_context.dart 81:7 CompilerContext.current
+ // package:front_end/src/fasta/command_line_reporting.dart 112:30 shouldThrowOn
+ // package:front_end/src/fasta/deprecated_problems.dart 41:7 deprecated_inputError
+ // package:front_end/src/fasta/quote.dart 181:5 unescapeCodeUnits.error
+ // package:front_end/src/fasta/quote.dart 235:49 unescapeCodeUnits
+ // package:front_end/src/fasta/quote.dart 147:13 unescape
+ // package:front_end/src/fasta/quote.dart 135:10 unescapeString
+ // package:analyzer/src/fasta/ast_builder.dart 159:22 AstBuilder.endLiteralString
+ // test/generated/parser_fasta_listener.dart 896:14 ForwardingTestListener.endLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3497:14 Parser.parseSingleLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3434:13 Parser.parseLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3133:14 Parser.parsePrimary
+ // package:front_end/src/fasta/parser/parser.dart 3097:14 Parser.parseUnaryExpression
+ // package:front_end/src/fasta/parser/parser.dart 2968:13 Parser.parsePrecedenceExpression
+ // package:front_end/src/fasta/parser/parser.dart 2942:11 Parser.parseExpression
+ // package:front_end/src/fasta/parser/parser.dart 2862:13 Parser.parseExpressionStatement
+ // package:front_end/src/fasta/parser/parser.dart 2790:14 Parser.parseStatementX
+ // package:front_end/src/fasta/parser/parser.dart 2722:20 Parser.parseStatement
+ // test/generated/parser_fasta_test.dart 3287:39 ParserProxy._run
super.test_invalidUnicodeEscape_tooFewDigits_variable();
}
@override
@failingTest
void test_invalidUnicodeEscape_tooManyDigits_variable() {
+ // TODO(brianwilkerson) Does not recover.
+ // Internal problem: Compiler cannot run without a compiler context.
+ // Tip: Are calls to the compiler wrapped in CompilerContext.runInContext?
+ // package:front_end/src/fasta/compiler_context.dart 81:7 CompilerContext.current
+ // package:front_end/src/fasta/command_line_reporting.dart 112:30 shouldThrowOn
+ // package:front_end/src/fasta/deprecated_problems.dart 41:7 deprecated_inputError
+ // package:front_end/src/fasta/quote.dart 181:5 unescapeCodeUnits.error
+ // package:front_end/src/fasta/quote.dart 251:40 unescapeCodeUnits
+ // package:front_end/src/fasta/quote.dart 147:13 unescape
+ // package:front_end/src/fasta/quote.dart 135:10 unescapeString
+ // package:analyzer/src/fasta/ast_builder.dart 159:22 AstBuilder.endLiteralString
+ // test/generated/parser_fasta_listener.dart 896:14 ForwardingTestListener.endLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3497:14 Parser.parseSingleLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3434:13 Parser.parseLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3133:14 Parser.parsePrimary
+ // package:front_end/src/fasta/parser/parser.dart 3097:14 Parser.parseUnaryExpression
+ // package:front_end/src/fasta/parser/parser.dart 2968:13 Parser.parsePrecedenceExpression
+ // package:front_end/src/fasta/parser/parser.dart 2942:11 Parser.parseExpression
+ // package:front_end/src/fasta/parser/parser.dart 2862:13 Parser.parseExpressionStatement
+ // package:front_end/src/fasta/parser/parser.dart 2790:14 Parser.parseStatementX
+ // package:front_end/src/fasta/parser/parser.dart 2722:20 Parser.parseStatement
+ // test/generated/parser_fasta_test.dart 3287:39 ParserProxy._run
super.test_invalidUnicodeEscape_tooManyDigits_variable();
}
@override
@failingTest
void test_libraryDirectiveNotFirst() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.LIBRARY_DIRECTIVE_NOT_FIRST, found 0
super.test_libraryDirectiveNotFirst();
}
@override
@failingTest
void test_libraryDirectiveNotFirst_afterPart() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.LIBRARY_DIRECTIVE_NOT_FIRST, found 0
super.test_libraryDirectiveNotFirst_afterPart();
}
@override
@failingTest
void test_localFunctionDeclarationModifier_abstract() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.LOCAL_FUNCTION_DECLARATION_MODIFIER, found 0
super.test_localFunctionDeclarationModifier_abstract();
}
@override
@failingTest
void test_localFunctionDeclarationModifier_external() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.LOCAL_FUNCTION_DECLARATION_MODIFIER, found 0
super.test_localFunctionDeclarationModifier_external();
}
@override
@failingTest
void test_localFunctionDeclarationModifier_factory() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.LOCAL_FUNCTION_DECLARATION_MODIFIER, found 0
super.test_localFunctionDeclarationModifier_factory();
}
@override
@failingTest
void test_localFunctionDeclarationModifier_static() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.LOCAL_FUNCTION_DECLARATION_MODIFIER, found 0
super.test_localFunctionDeclarationModifier_static();
}
@override
@failingTest
void test_method_invalidTypeParameterComments() {
+ // TODO(brianwilkerson) Does not recover.
+ // type 'DeclaredSimpleIdentifier' is not a subtype of type 'TypeAnnotation' of 'returnType' where
+ // DeclaredSimpleIdentifier is from package:analyzer/src/dart/ast/ast.dart
+ // TypeAnnotation is from package:analyzer/dart/ast/ast.dart
+ //
+ // package:analyzer/src/fasta/ast_builder.dart 1620:33 AstBuilder.endMethod
+ // test/generated/parser_fasta_listener.dart 926:14 ForwardingTestListener.endMethod
+ // package:front_end/src/fasta/parser/parser.dart 2433:14 Parser.parseMethod
+ // package:front_end/src/fasta/parser/parser.dart 2323:11 Parser.parseMember
+ // test/generated/parser_fasta_test.dart 3438:39 ParserProxy._run
super.test_method_invalidTypeParameterComments();
}
@override
@failingTest
void test_method_invalidTypeParameterExtends() {
+ // TODO(brianwilkerson) Does not recover.
+ // type 'FormalParameterListImpl' is not a subtype of type 'TypeParameterList' of 'typeParameters' where
+ // FormalParameterListImpl is from package:analyzer/src/dart/ast/ast.dart
+ // TypeParameterList is from package:analyzer/dart/ast/ast.dart
+ //
+ // package:analyzer/src/fasta/ast_builder.dart 1618:40 AstBuilder.endMethod
+ // test/generated/parser_fasta_listener.dart 926:14 ForwardingTestListener.endMethod
+ // package:front_end/src/fasta/parser/parser.dart 2433:14 Parser.parseMethod
+ // package:front_end/src/fasta/parser/parser.dart 2323:11 Parser.parseMember
+ // test/generated/parser_fasta_test.dart 3438:39 ParserProxy._run
super.test_method_invalidTypeParameterExtends();
}
@override
@failingTest
void test_method_invalidTypeParameterExtendsComment() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 2 errors of type ParserErrorCode.EXPECTED_TOKEN, found 0;
+ // 2 errors of type ParserErrorCode.MISSING_IDENTIFIER, found 0;
+ // 1 errors of type ParserErrorCode.MISSING_FUNCTION_BODY, found 0
super.test_method_invalidTypeParameterExtendsComment();
}
@override
@failingTest
void test_method_invalidTypeParameters() {
+ // TODO(brianwilkerson) Does not recover.
+ // type 'DeclaredSimpleIdentifier' is not a subtype of type 'TypeAnnotation' of 'returnType' where
+ // DeclaredSimpleIdentifier is from package:analyzer/src/dart/ast/ast.dart
+ // TypeAnnotation is from package:analyzer/dart/ast/ast.dart
+ //
+ // package:analyzer/src/fasta/ast_builder.dart 1620:33 AstBuilder.endMethod
+ // test/generated/parser_fasta_listener.dart 926:14 ForwardingTestListener.endMethod
+ // package:front_end/src/fasta/parser/parser.dart 2433:14 Parser.parseMethod
+ // package:front_end/src/fasta/parser/parser.dart 2323:11 Parser.parseMember
+ // test/generated/parser_fasta_test.dart 3438:39 ParserProxy._run
super.test_method_invalidTypeParameters();
}
@override
@failingTest
void test_missingAssignableSelector_identifiersAssigned() {
+ // TODO(brianwilkerson) Does not recover.
+ // Expected: true
+ // Actual: <false>
+ //
+ // package:test expect
+ // test/generated/parser_fasta_test.dart 3439:5 ParserProxy._run
super.test_missingAssignableSelector_identifiersAssigned();
}
@override
@failingTest
void test_missingAssignableSelector_prefix_minusMinus_literal() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_ASSIGNABLE_SELECTOR, found 0
super.test_missingAssignableSelector_prefix_minusMinus_literal();
}
@override
@failingTest
void test_missingAssignableSelector_prefix_plusPlus_literal() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_ASSIGNABLE_SELECTOR, found 0
super.test_missingAssignableSelector_prefix_plusPlus_literal();
}
@override
@failingTest
void test_missingAssignableSelector_superPrimaryExpression() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_ASSIGNABLE_SELECTOR, found 0
super.test_missingAssignableSelector_superPrimaryExpression();
}
@override
@failingTest
void test_missingAssignableSelector_superPropertyAccessAssigned() {
+ // TODO(brianwilkerson) Does not recover.
+ // Expected: true
+ // Actual: <false>
+ //
+ // package:test expect
+ // test/generated/parser_fasta_test.dart 3488:5 ParserProxy._run
super.test_missingAssignableSelector_superPropertyAccessAssigned();
}
@override
@failingTest
void test_missingCatchOrFinally() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_CATCH_OR_FINALLY, found 0
super.test_missingCatchOrFinally();
}
@override
@failingTest
void test_missingClassBody() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_CLASS_BODY, found 0
super.test_missingClassBody();
}
@override
@failingTest
void test_missingClosingParenthesis() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ScannerErrorCode.EXPECTED_TOKEN, found 0
super.test_missingClosingParenthesis();
}
@override
@failingTest
void test_missingConstFinalVarOrType_static() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_CONST_FINAL_VAR_OR_TYPE, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (19)
super.test_missingConstFinalVarOrType_static();
}
@override
@failingTest
void test_missingConstFinalVarOrType_topLevel() {
+ // TODO(brianwilkerson) Test uses undefined method (parseFinalConstVarOrType).
super.test_missingConstFinalVarOrType_topLevel();
}
@override
@failingTest
void test_missingEnumBody() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_ENUM_BODY, found 0
super.test_missingEnumBody();
}
@override
@failingTest
- void test_missingExpressionInThrow_withCascade() {
- super.test_missingExpressionInThrow_withCascade();
- }
-
- @override
- @failingTest
- void test_missingExpressionInThrow_withoutCascade() {
- super.test_missingExpressionInThrow_withoutCascade();
+ void test_missingExpressionInThrow() {
+ // TODO(brianwilkerson) Does not recover.
+ // type 'RethrowExpressionImpl' is not a subtype of type 'ThrowExpression' of 'expression' where
+ // RethrowExpressionImpl is from package:analyzer/src/dart/ast/ast.dart
+ // ThrowExpression is from package:analyzer/dart/ast/ast.dart
+ //
+ // test/generated/parser_test.dart 3492:59 FastaParserTestCase&ErrorParserTestMixin.test_missingExpressionInThrow_withCascade
+ super.test_missingExpressionInThrow();
}
@override
@failingTest
void test_missingFunctionBody_emptyNotAllowed() {
+ // TODO(brianwilkerson) Does not recover.
+ // 'package:front_end/src/fasta/source/stack_listener.dart': Failed assertion: line 311 pos 12: 'arrayLength > 0': is not true.
+ // dart:core _AssertionError._throwNew
+ // package:front_end/src/fasta/source/stack_listener.dart 311:12 Stack.pop
+ // package:front_end/src/fasta/source/stack_listener.dart 95:25 StackListener.pop
+ // package:analyzer/src/fasta/ast_builder.dart 269:5 AstBuilder.handleEmptyFunctionBody
+ // test/generated/parser_fasta_listener.dart 1171:14 ForwardingTestListener.handleEmptyFunctionBody
+ // package:front_end/src/fasta/parser/parser.dart 2614:16 Parser.parseFunctionBody
+ // test/generated/parser_fasta_test.dart 3439:20 ParserProxy.parseFunctionBody.<fn>.<fn>
+ // test/generated/parser_fasta_test.dart 3503:39 ParserProxy._run
super.test_missingFunctionBody_emptyNotAllowed();
}
@override
@failingTest
void test_missingFunctionBody_invalid() {
+ // TODO(brianwilkerson) Does not recover.
+ // Expected: an object with length of <1>
+ // Actual: <Instance of 'Stack'>
+ // Which: has length of <0>
+ //
+ // package:test expect
+ // test/generated/parser_fasta_test.dart 3506:7 ParserProxy._run
super.test_missingFunctionBody_invalid();
}
@override
@failingTest
void test_missingFunctionParameters_local_nonVoid_block() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_FUNCTION_PARAMETERS, found 0
super.test_missingFunctionParameters_local_nonVoid_block();
}
@override
@failingTest
void test_missingFunctionParameters_local_nonVoid_expression() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_FUNCTION_PARAMETERS, found 0
super.test_missingFunctionParameters_local_nonVoid_expression();
}
@override
@failingTest
void test_missingFunctionParameters_local_void_block() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_FUNCTION_PARAMETERS, found 0
super.test_missingFunctionParameters_local_void_block();
}
@override
@failingTest
void test_missingFunctionParameters_local_void_expression() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_FUNCTION_PARAMETERS, found 0
super.test_missingFunctionParameters_local_void_expression();
}
@override
@failingTest
void test_missingFunctionParameters_topLevel_nonVoid_block() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_FUNCTION_PARAMETERS, found 0
super.test_missingFunctionParameters_topLevel_nonVoid_block();
}
@override
@failingTest
void test_missingFunctionParameters_topLevel_nonVoid_expression() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_FUNCTION_PARAMETERS, found 0
super.test_missingFunctionParameters_topLevel_nonVoid_expression();
}
@override
@failingTest
void test_missingFunctionParameters_topLevel_void_block() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_FUNCTION_PARAMETERS, found 0
super.test_missingFunctionParameters_topLevel_void_block();
}
@override
@failingTest
void test_missingFunctionParameters_topLevel_void_expression() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_FUNCTION_PARAMETERS, found 0
super.test_missingFunctionParameters_topLevel_void_expression();
}
@override
@failingTest
void test_missingIdentifier_afterOperator() {
+ // TODO(brianwilkerson) Does not recover.
+ // 'package:front_end/src/fasta/source/stack_listener.dart': Failed assertion: line 311 pos 12: 'arrayLength > 0': is not true.
+ // dart:core _AssertionError._throwNew
+ // package:front_end/src/fasta/source/stack_listener.dart 311:12 Stack.pop
+ // package:front_end/src/fasta/source/stack_listener.dart 95:25 StackListener.pop
+ // package:analyzer/src/fasta/ast_builder.dart 345:25 AstBuilder.handleBinaryExpression
+ // test/generated/parser_fasta_listener.dart 1127:14 ForwardingTestListener.handleBinaryExpression
+ // package:front_end/src/fasta/parser/parser.dart 3016:20 Parser.parsePrecedenceExpression
+ // package:front_end/src/fasta/parser/parser.dart 2942:11 Parser.parseExpression
+ // test/generated/parser_fasta_test.dart 3544:39 ParserProxy._run
super.test_missingIdentifier_afterOperator();
}
@override
@failingTest
void test_missingIdentifier_beforeClosingCurly() {
+ // TODO(brianwilkerson) Does not recover.
+ // Expected: an object with length of <1>
+ // Actual: <Instance of 'Stack'>
+ // Which: has length of <2>
+ //
+ // package:test expect
+ // test/generated/parser_fasta_test.dart 3547:7 ParserProxy._run
super.test_missingIdentifier_beforeClosingCurly();
}
@override
@failingTest
void test_missingIdentifier_inEnum() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_IDENTIFIER, found 0
super.test_missingIdentifier_inEnum();
}
@override
@failingTest
void test_missingIdentifier_inSymbol_afterPeriod() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_IDENTIFIER, found 0
super.test_missingIdentifier_inSymbol_afterPeriod();
}
@override
@failingTest
void test_missingIdentifier_inSymbol_first() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_IDENTIFIER, found 0
super.test_missingIdentifier_inSymbol_first();
}
@override
@failingTest
- void test_missingIdentifier_number() {
- super.test_missingIdentifier_number();
- }
-
- @override
- @failingTest
void test_missingIdentifierForParameterGroup() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_IDENTIFIER, found 0
super.test_missingIdentifierForParameterGroup();
}
@override
@failingTest
void test_missingKeywordOperator() {
+ // TODO(brianwilkerson) Does not recover.
+ // type 'DeclaredSimpleIdentifier' is not a subtype of type 'TypeAnnotation' of 'returnType' where
+ // DeclaredSimpleIdentifier is from package:analyzer/src/dart/ast/ast.dart
+ // TypeAnnotation is from package:analyzer/dart/ast/ast.dart
+ //
+ // package:analyzer/src/fasta/ast_builder.dart 1620:33 AstBuilder.endMethod
+ // test/generated/parser_fasta_listener.dart 926:14 ForwardingTestListener.endMethod
+ // package:front_end/src/fasta/parser/parser.dart 2433:14 Parser.parseMethod
+ // package:front_end/src/fasta/parser/parser.dart 2323:11 Parser.parseMember
+ // test/generated/parser_fasta_test.dart 3544:39 ParserProxy._run
super.test_missingKeywordOperator();
}
@override
@failingTest
void test_missingKeywordOperator_parseClassMember() {
+ // TODO(brianwilkerson) Does not recover.
+ // type 'DeclaredSimpleIdentifier' is not a subtype of type 'TypeAnnotation' of 'returnType' where
+ // DeclaredSimpleIdentifier is from package:analyzer/src/dart/ast/ast.dart
+ // TypeAnnotation is from package:analyzer/dart/ast/ast.dart
+ //
+ // package:analyzer/src/fasta/ast_builder.dart 1620:33 AstBuilder.endMethod
+ // test/generated/parser_fasta_listener.dart 926:14 ForwardingTestListener.endMethod
+ // package:front_end/src/fasta/parser/parser.dart 2433:14 Parser.parseMethod
+ // package:front_end/src/fasta/parser/parser.dart 2323:11 Parser.parseMember
+ // test/generated/parser_fasta_test.dart 3544:39 ParserProxy._run
super.test_missingKeywordOperator_parseClassMember();
}
@override
@failingTest
void test_missingKeywordOperator_parseClassMember_afterTypeName() {
+ // TODO(brianwilkerson) Does not recover.
+ // type 'DeclaredSimpleIdentifier' is not a subtype of type 'TypeAnnotation' of 'returnType' where
+ // DeclaredSimpleIdentifier is from package:analyzer/src/dart/ast/ast.dart
+ // TypeAnnotation is from package:analyzer/dart/ast/ast.dart
+ //
+ // package:analyzer/src/fasta/ast_builder.dart 1620:33 AstBuilder.endMethod
+ // test/generated/parser_fasta_listener.dart 926:14 ForwardingTestListener.endMethod
+ // package:front_end/src/fasta/parser/parser.dart 2433:14 Parser.parseMethod
+ // package:front_end/src/fasta/parser/parser.dart 2323:11 Parser.parseMember
+ // test/generated/parser_fasta_test.dart 3544:39 ParserProxy._run
super.test_missingKeywordOperator_parseClassMember_afterTypeName();
}
@override
@failingTest
void test_missingKeywordOperator_parseClassMember_afterVoid() {
+ // TODO(brianwilkerson) Does not recover.
+ // type 'DeclaredSimpleIdentifier' is not a subtype of type 'TypeAnnotation' of 'returnType' where
+ // DeclaredSimpleIdentifier is from package:analyzer/src/dart/ast/ast.dart
+ // TypeAnnotation is from package:analyzer/dart/ast/ast.dart
+ //
+ // package:analyzer/src/fasta/ast_builder.dart 1620:33 AstBuilder.endMethod
+ // test/generated/parser_fasta_listener.dart 926:14 ForwardingTestListener.endMethod
+ // package:front_end/src/fasta/parser/parser.dart 2433:14 Parser.parseMethod
+ // package:front_end/src/fasta/parser/parser.dart 2323:11 Parser.parseMember
+ // test/generated/parser_fasta_test.dart 3593:39 ParserProxy._run
super.test_missingKeywordOperator_parseClassMember_afterVoid();
}
@override
@failingTest
void test_missingMethodParameters_void_block() {
+ // TODO(brianwilkerson) Does not recover.
+ // Expected: true
+ // Actual: <false>
+ //
+ // package:test expect
+ // test/generated/parser_fasta_test.dart 3594:5 ParserProxy._run
super.test_missingMethodParameters_void_block();
}
@override
@failingTest
void test_missingMethodParameters_void_expression() {
+ // TODO(brianwilkerson) Does not recover.
+ // Expected: true
+ // Actual: <false>
+ //
+ // package:test expect
+ // test/generated/parser_fasta_test.dart 3594:5 ParserProxy._run
super.test_missingMethodParameters_void_expression();
}
@override
@failingTest
void test_missingNameForNamedParameter_colon() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.DEFAULT_VALUE_IN_FUNCTION_TYPE, found 0;
+ // 1 errors of type ParserErrorCode.MISSING_NAME_FOR_NAMED_PARAMETER, found 0
super.test_missingNameForNamedParameter_colon();
}
@override
@failingTest
void test_missingNameForNamedParameter_equals() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.DEFAULT_VALUE_IN_FUNCTION_TYPE, found 0;
+ // 1 errors of type ParserErrorCode.MISSING_NAME_FOR_NAMED_PARAMETER, found 0
super.test_missingNameForNamedParameter_equals();
}
@override
@failingTest
void test_missingNameForNamedParameter_noDefault() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_NAME_FOR_NAMED_PARAMETER, found 0
super.test_missingNameForNamedParameter_noDefault();
}
@override
@failingTest
void test_missingNameInLibraryDirective() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_NAME_IN_LIBRARY_DIRECTIVE, found 0
super.test_missingNameInLibraryDirective();
}
@override
@failingTest
void test_missingNameInPartOfDirective() {
+ // TODO(brianwilkerson) Does not recover.
+ // type 'KeywordToken' is not a subtype of type 'Comment' of 'comment' where
+ // KeywordToken is from package:front_end/src/scanner/token.dart
+ // Comment is from package:analyzer/dart/ast/ast.dart
+ //
+ // package:analyzer/src/fasta/ast_builder.dart 1457:23 AstBuilder.endPartOf
+ // package:front_end/src/fasta/parser/parser.dart 499:14 Parser.parsePartOf
+ // package:front_end/src/fasta/parser/parser.dart 467:14 Parser.parsePartOrPartOf
+ // package:front_end/src/fasta/parser/parser.dart 296:14 Parser._parseTopLevelDeclaration
+ // package:front_end/src/fasta/parser/parser.dart 263:13 Parser.parseTopLevelDeclaration
+ // package:front_end/src/fasta/parser/parser.dart 252:15 Parser.parseUnit
+ // package:analyzer/src/generated/parser_fasta.dart 77:33 _Parser2.parseCompilationUnit2
+ // package:analyzer/src/generated/parser_fasta.dart 72:12 _Parser2.parseCompilationUnit
+ // test/generated/parser_fasta_test.dart 3016:35 FastaParserTestCase.parseCompilationUnit
super.test_missingNameInPartOfDirective();
}
@override
@failingTest
void test_missingPrefixInDeferredImport() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_PREFIX_IN_DEFERRED_IMPORT, found 0
super.test_missingPrefixInDeferredImport();
}
@override
@failingTest
void test_missingStartAfterSync() {
+ // TODO(brianwilkerson) Does not recover.
+ // Expected: an object with length of <1>
+ // Actual: <Instance of 'Stack'>
+ // Which: has length of <0>
+ //
+ // package:test expect
+ // test/generated/parser_fasta_test.dart 3596:7 ParserProxy._run
super.test_missingStartAfterSync();
}
@override
@failingTest
void test_missingStatement() {
+ // TODO(brianwilkerson) Does not recover.
+ // 'package:front_end/src/fasta/source/stack_listener.dart': Failed assertion: line 311 pos 12: 'arrayLength > 0': is not true.
+ // dart:core _AssertionError._throwNew
+ // package:front_end/src/fasta/source/stack_listener.dart 311:12 Stack.pop
+ // package:front_end/src/fasta/source/stack_listener.dart 95:25 StackListener.pop
+ // package:analyzer/src/fasta/ast_builder.dart 262:34 AstBuilder.endExpressionStatement
+ // test/generated/parser_fasta_listener.dart 724:14 ForwardingTestListener.endExpressionStatement
+ // package:front_end/src/fasta/parser/parser.dart 2863:14 Parser.parseExpressionStatement
+ // package:front_end/src/fasta/parser/parser.dart 2790:14 Parser.parseStatementX
+ // package:front_end/src/fasta/parser/parser.dart 2722:20 Parser.parseStatement
+ // test/generated/parser_fasta_test.dart 3640:39 ParserProxy._run
super.test_missingStatement();
}
@override
@failingTest
void test_missingStatement_afterVoid() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_STATEMENT, found 0
super.test_missingStatement_afterVoid();
}
@override
@failingTest
void test_missingTerminatorForParameterGroup_named() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ScannerErrorCode.EXPECTED_TOKEN, found 0
super.test_missingTerminatorForParameterGroup_named();
}
@override
@failingTest
void test_missingTerminatorForParameterGroup_optional() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ScannerErrorCode.EXPECTED_TOKEN, found 0
super.test_missingTerminatorForParameterGroup_optional();
}
@override
@failingTest
void test_missingTypedefParameters_nonVoid() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_TYPEDEF_PARAMETERS, found 0
super.test_missingTypedefParameters_nonVoid();
}
@override
@failingTest
void test_missingTypedefParameters_typeParameters() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_TYPEDEF_PARAMETERS, found 0
super.test_missingTypedefParameters_typeParameters();
}
@override
@failingTest
void test_missingTypedefParameters_void() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_TYPEDEF_PARAMETERS, found 0
super.test_missingTypedefParameters_void();
}
@override
@failingTest
void test_missingVariableInForEach() {
+ // TODO(brianwilkerson) Does not recover.
+ // type 'BinaryExpressionImpl' is not a subtype of type 'VariableDeclarationStatement' in type cast where
+ // BinaryExpressionImpl is from package:analyzer/src/dart/ast/ast.dart
+ // VariableDeclarationStatement is from package:analyzer/dart/ast/ast.dart
+ //
+ // dart:core Object._as
+ // package:analyzer/src/fasta/ast_builder.dart 797:45 AstBuilder.endForIn
+ // test/generated/parser_fasta_listener.dart 751:14 ForwardingTestListener.endForIn
+ // package:front_end/src/fasta/parser/parser.dart 3755:14 Parser.parseForInRest
+ // package:front_end/src/fasta/parser/parser.dart 3695:14 Parser.parseForStatement
+ // package:front_end/src/fasta/parser/parser.dart 2745:14 Parser.parseStatementX
+ // package:front_end/src/fasta/parser/parser.dart 2722:20 Parser.parseStatement
+ // test/generated/parser_fasta_test.dart 3671:39 ParserProxy._run
super.test_missingVariableInForEach();
}
@override
@failingTest
void test_mixedParameterGroups_namedPositional() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MIXED_PARAMETER_GROUPS, found 0
super.test_mixedParameterGroups_namedPositional();
}
@override
@failingTest
void test_mixedParameterGroups_positionalNamed() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MIXED_PARAMETER_GROUPS, found 0
super.test_mixedParameterGroups_positionalNamed();
}
@override
@failingTest
void test_mixin_application_lacks_with_clause() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXPECTED_TOKEN, found 0
super.test_mixin_application_lacks_with_clause();
}
@override
@failingTest
void test_multipleExtendsClauses() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MULTIPLE_EXTENDS_CLAUSES, found 0
super.test_multipleExtendsClauses();
}
@override
@failingTest
void test_multipleImplementsClauses() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MULTIPLE_IMPLEMENTS_CLAUSES, found 0
super.test_multipleImplementsClauses();
}
@override
@failingTest
void test_multipleLibraryDirectives() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MULTIPLE_LIBRARY_DIRECTIVES, found 0
super.test_multipleLibraryDirectives();
}
@override
@failingTest
void test_multipleNamedParameterGroups() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MULTIPLE_NAMED_PARAMETER_GROUPS, found 0
super.test_multipleNamedParameterGroups();
}
@override
@failingTest
void test_multiplePartOfDirectives() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MULTIPLE_PART_OF_DIRECTIVES, found 0
super.test_multiplePartOfDirectives();
}
@override
@failingTest
void test_multiplePositionalParameterGroups() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MULTIPLE_POSITIONAL_PARAMETER_GROUPS, found 0
super.test_multiplePositionalParameterGroups();
}
@override
@failingTest
void test_multipleVariablesInForEach() {
+ // TODO(brianwilkerson) Does not recover.
+ // Bad state: Too many elements
+ // dart:collection Object&ListMixin.single
+ // package:analyzer/src/fasta/ast_builder.dart 808:38 AstBuilder.endForIn
+ // test/generated/parser_fasta_listener.dart 751:14 ForwardingTestListener.endForIn
+ // package:front_end/src/fasta/parser/parser.dart 3755:14 Parser.parseForInRest
+ // package:front_end/src/fasta/parser/parser.dart 3695:14 Parser.parseForStatement
+ // package:front_end/src/fasta/parser/parser.dart 2745:14 Parser.parseStatementX
+ // package:front_end/src/fasta/parser/parser.dart 2722:20 Parser.parseStatement
+ // test/generated/parser_fasta_test.dart 3702:39 ParserProxy._run
super.test_multipleVariablesInForEach();
}
@override
@failingTest
void test_multipleWithClauses() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MULTIPLE_WITH_CLAUSES, found 0
super.test_multipleWithClauses();
}
@override
@failingTest
void test_namedFunctionExpression() {
+ // TODO(brianwilkerson) Does not recover.
+ // Internal problem: Compiler cannot run without a compiler context.
+ // Tip: Are calls to the compiler wrapped in CompilerContext.runInContext?
+ // package:front_end/src/fasta/compiler_context.dart 81:7 CompilerContext.current
+ // package:front_end/src/fasta/problems.dart 29:25 internalProblem
+ // package:front_end/src/fasta/problems.dart 41:10 unhandled
+ // package:front_end/src/fasta/source/stack_listener.dart 126:5 StackListener.logEvent
+ // package:analyzer/src/fasta/ast_builder.dart 1548:5 AstBuilder.endNamedFunctionExpression
+ // test/generated/parser_fasta_listener.dart 938:14 ForwardingTestListener.endNamedFunctionExpression
+ // package:front_end/src/fasta/parser/parser.dart 2520:16 Parser.parseNamedFunctionRest
+ // package:front_end/src/fasta/parser/parser.dart 1379:16 Parser.parseType
+ // package:front_end/src/fasta/parser/parser.dart 3365:14 Parser.parseSendOrFunctionLiteral
+ // package:front_end/src/fasta/parser/parser.dart 3127:14 Parser.parsePrimary
+ // test/generated/parser_fasta_test.dart 3320:31 FastaParserTestCase.parsePrimaryExpression.<fn>.<fn>
+ // test/generated/parser_fasta_test.dart 3702:39 ParserProxy._run
super.test_namedFunctionExpression();
}
@override
@failingTest
void test_namedParameterOutsideGroup() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.NAMED_PARAMETER_OUTSIDE_GROUP, found 0
super.test_namedParameterOutsideGroup();
}
@override
@failingTest
void test_nonConstructorFactory_field() {
+ // TODO(brianwilkerson) Does not recover.
+ // Internal problem: Compiler cannot run without a compiler context.
+ // Tip: Are calls to the compiler wrapped in CompilerContext.runInContext?
+ // package:front_end/src/fasta/compiler_context.dart 81:7 CompilerContext.current
+ // package:front_end/src/fasta/problems.dart 29:25 internalProblem
+ // package:front_end/src/fasta/problems.dart 41:10 unhandled
+ // package:analyzer/src/fasta/ast_builder.dart 1498:7 AstBuilder.endFactoryMethod
+ // test/generated/parser_fasta_listener.dart 731:14 ForwardingTestListener.endFactoryMethod
+ // package:front_end/src/fasta/parser/parser.dart 2465:14 Parser.parseFactoryMethod
+ // package:front_end/src/fasta/parser/parser.dart 2240:15 Parser.parseMember
+ // test/generated/parser_fasta_test.dart 3702:39 ParserProxy._run
super.test_nonConstructorFactory_field();
}
@override
@failingTest
void test_nonConstructorFactory_method() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.NON_CONSTRUCTOR_FACTORY, found 0
super.test_nonConstructorFactory_method();
}
@override
@failingTest
void test_nonIdentifierLibraryName_library() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.NON_IDENTIFIER_LIBRARY_NAME, found 0
super.test_nonIdentifierLibraryName_library();
}
@override
@failingTest
void test_nonIdentifierLibraryName_partOf() {
+ // TODO(brianwilkerson) Does not recover.
+ // type 'IntegerLiteralImpl' is not a subtype of type 'List<SimpleIdentifier>' of 'components' where
+ // IntegerLiteralImpl is from package:analyzer/src/dart/ast/ast.dart
+ // List is from dart:core
+ // SimpleIdentifier is from package:analyzer/dart/ast/ast.dart
+ //
+ // package:analyzer/src/dart/ast/ast_factory.dart 665:62 AstFactoryImpl.libraryIdentifier
+ // package:analyzer/src/fasta/ast_builder.dart 1451:18 AstBuilder.endPartOf
+ // package:front_end/src/fasta/parser/parser.dart 499:14 Parser.parsePartOf
+ // package:front_end/src/fasta/parser/parser.dart 467:14 Parser.parsePartOrPartOf
+ // package:front_end/src/fasta/parser/parser.dart 296:14 Parser._parseTopLevelDeclaration
+ // package:front_end/src/fasta/parser/parser.dart 263:13 Parser.parseTopLevelDeclaration
+ // package:front_end/src/fasta/parser/parser.dart 252:15 Parser.parseUnit
+ // package:analyzer/src/generated/parser_fasta.dart 77:33 _Parser2.parseCompilationUnit2
+ // package:analyzer/src/generated/parser_fasta.dart 72:12 _Parser2.parseCompilationUnit
+ // test/generated/parser_fasta_test.dart 3125:35 FastaParserTestCase.parseCompilationUnit
super.test_nonIdentifierLibraryName_partOf();
}
@override
@failingTest
void test_nonPartOfDirectiveInPart_after() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.NON_PART_OF_DIRECTIVE_IN_PART, found 0
super.test_nonPartOfDirectiveInPart_after();
}
@override
@failingTest
void test_nonPartOfDirectiveInPart_before() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.NON_PART_OF_DIRECTIVE_IN_PART, found 0
super.test_nonPartOfDirectiveInPart_before();
}
@override
@failingTest
void test_nonUserDefinableOperator() {
+ // TODO(brianwilkerson) Does not recover.
+ // type 'SimpleIdentifierImpl' is not a subtype of type 'TypeAnnotation' of 'returnType' where
+ // SimpleIdentifierImpl is from package:analyzer/src/dart/ast/ast.dart
+ // TypeAnnotation is from package:analyzer/dart/ast/ast.dart
+ //
+ // package:analyzer/src/fasta/ast_builder.dart 1620:33 AstBuilder.endMethod
+ // test/generated/parser_fasta_listener.dart 926:14 ForwardingTestListener.endMethod
+ // package:front_end/src/fasta/parser/parser.dart 2433:14 Parser.parseMethod
+ // package:front_end/src/fasta/parser/parser.dart 2323:11 Parser.parseMember
+ // test/generated/parser_fasta_test.dart 3766:39 ParserProxy._run
super.test_nonUserDefinableOperator();
}
@override
@failingTest
void test_optionalAfterNormalParameters_named() {
+ // TODO(brianwilkerson) Does not recover.
+ // type 'FormalParameterListImpl' is not a subtype of type 'TypeParameterList' of 'typeParameters' where
+ // FormalParameterListImpl is from package:analyzer/src/dart/ast/ast.dart
+ // TypeParameterList is from package:analyzer/dart/ast/ast.dart
+ //
+ // package:analyzer/src/fasta/ast_builder.dart 1122:40 AstBuilder.endTopLevelMethod
+ // package:front_end/src/fasta/parser/parser.dart 1741:14 Parser.parseTopLevelMethod
+ // package:front_end/src/fasta/parser/parser.dart 1646:11 Parser.parseTopLevelMember
+ // package:front_end/src/fasta/parser/parser.dart 298:14 Parser._parseTopLevelDeclaration
+ // package:front_end/src/fasta/parser/parser.dart 263:13 Parser.parseTopLevelDeclaration
+ // package:front_end/src/fasta/parser/parser.dart 252:15 Parser.parseUnit
+ // package:analyzer/src/generated/parser_fasta.dart 77:33 _Parser2.parseCompilationUnit2
+ // package:analyzer/src/generated/parser_fasta.dart 72:12 _Parser2.parseCompilationUnit
+ // test/generated/parser_fasta_test.dart 3189:35 FastaParserTestCase.parseCompilationUnit
super.test_optionalAfterNormalParameters_named();
}
@override
@failingTest
void test_optionalAfterNormalParameters_positional() {
+ // TODO(brianwilkerson) Does not recover.
+ // type 'FormalParameterListImpl' is not a subtype of type 'TypeParameterList' of 'typeParameters' where
+ // FormalParameterListImpl is from package:analyzer/src/dart/ast/ast.dart
+ // TypeParameterList is from package:analyzer/dart/ast/ast.dart
+ //
+ // package:analyzer/src/fasta/ast_builder.dart 1122:40 AstBuilder.endTopLevelMethod
+ // package:front_end/src/fasta/parser/parser.dart 1741:14 Parser.parseTopLevelMethod
+ // package:front_end/src/fasta/parser/parser.dart 1646:11 Parser.parseTopLevelMember
+ // package:front_end/src/fasta/parser/parser.dart 298:14 Parser._parseTopLevelDeclaration
+ // package:front_end/src/fasta/parser/parser.dart 263:13 Parser.parseTopLevelDeclaration
+ // package:front_end/src/fasta/parser/parser.dart 252:15 Parser.parseUnit
+ // package:analyzer/src/generated/parser_fasta.dart 77:33 _Parser2.parseCompilationUnit2
+ // package:analyzer/src/generated/parser_fasta.dart 72:12 _Parser2.parseCompilationUnit
+ // test/generated/parser_fasta_test.dart 3189:35 FastaParserTestCase.parseCompilationUnit
super.test_optionalAfterNormalParameters_positional();
}
@override
@failingTest
void test_parseCascadeSection_missingIdentifier() {
+ // TODO(brianwilkerson) Testing at too low a level.
super.test_parseCascadeSection_missingIdentifier();
}
@override
@failingTest
void test_parseCascadeSection_missingIdentifier_typeArguments() {
+ // TODO(brianwilkerson) Testing at too low a level.
super.test_parseCascadeSection_missingIdentifier_typeArguments();
}
@override
@failingTest
void test_positionalAfterNamedArgument() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.POSITIONAL_AFTER_NAMED_ARGUMENT, found 0
super.test_positionalAfterNamedArgument();
}
@override
@failingTest
void test_positionalParameterOutsideGroup() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.POSITIONAL_PARAMETER_OUTSIDE_GROUP, found 0
super.test_positionalParameterOutsideGroup();
}
@override
@failingTest
void test_redirectingConstructorWithBody_named() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.REDIRECTING_CONSTRUCTOR_WITH_BODY, found 0
super.test_redirectingConstructorWithBody_named();
}
@override
@failingTest
void test_redirectingConstructorWithBody_unnamed() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.REDIRECTING_CONSTRUCTOR_WITH_BODY, found 0
super.test_redirectingConstructorWithBody_unnamed();
}
@override
@failingTest
void test_redirectionInNonFactoryConstructor() {
+ // TODO(brianwilkerson) Does not recover.
+ // type '_RedirectingFactoryBody' is not a subtype of type 'FunctionBody' of 'body' where
+ // _RedirectingFactoryBody is from package:analyzer/src/fasta/ast_builder.dart
+ // FunctionBody is from package:analyzer/dart/ast/ast.dart
+ //
+ // package:analyzer/src/fasta/ast_builder.dart 1613:25 AstBuilder.endMethod
+ // test/generated/parser_fasta_listener.dart 926:14 ForwardingTestListener.endMethod
+ // package:front_end/src/fasta/parser/parser.dart 2433:14 Parser.parseMethod
+ // package:front_end/src/fasta/parser/parser.dart 2323:11 Parser.parseMember
+ // test/generated/parser_fasta_test.dart 3766:39 ParserProxy._run
super.test_redirectionInNonFactoryConstructor();
}
@override
@failingTest
void test_setterInFunction_block() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.SETTER_IN_FUNCTION, found 0
super.test_setterInFunction_block();
}
@override
@failingTest
void test_setterInFunction_expression() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.SETTER_IN_FUNCTION, found 0
super.test_setterInFunction_expression();
}
@override
@failingTest
void test_staticAfterConst() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.STATIC_AFTER_FINAL, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (6)
super.test_staticAfterConst();
}
@override
@failingTest
void test_staticAfterFinal() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.STATIC_AFTER_CONST, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (6)
super.test_staticAfterFinal();
}
@override
@failingTest
void test_staticAfterVar() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.STATIC_AFTER_VAR, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (4)
super.test_staticAfterVar();
}
@override
@failingTest
void test_staticConstructor() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.STATIC_CONSTRUCTOR, found 0
super.test_staticConstructor();
}
@override
@failingTest
void test_staticGetterWithoutBody() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.STATIC_GETTER_WITHOUT_BODY, found 0
super.test_staticGetterWithoutBody();
}
@override
@failingTest
void test_staticOperator_noReturnType() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.STATIC_OPERATOR, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (0)
super.test_staticOperator_noReturnType();
}
@override
@failingTest
void test_staticOperator_returnType() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.STATIC_OPERATOR, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (0)
super.test_staticOperator_returnType();
}
@override
@failingTest
void test_staticSetterWithoutBody() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.STATIC_SETTER_WITHOUT_BODY, found 0
super.test_staticSetterWithoutBody();
}
@override
@failingTest
void test_staticTopLevelDeclaration_class() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.STATIC_TOP_LEVEL_DECLARATION, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 2 (1, 8)
super.test_staticTopLevelDeclaration_class();
}
@override
@failingTest
void test_staticTopLevelDeclaration_enum() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.STATIC_TOP_LEVEL_DECLARATION, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 2 (1, 8)
super.test_staticTopLevelDeclaration_enum();
}
@override
@failingTest
void test_staticTopLevelDeclaration_function() {
+ // TODO(brianwilkerson) Wrong errors:
+ //Expected 1 errors of type ParserErrorCode.STATIC_TOP_LEVEL_DECLARATION, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (1)
super.test_staticTopLevelDeclaration_function();
}
@override
@failingTest
void test_staticTopLevelDeclaration_typedef() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.STATIC_TOP_LEVEL_DECLARATION, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 2 (1, 8)
super.test_staticTopLevelDeclaration_typedef();
}
@override
@failingTest
void test_staticTopLevelDeclaration_variable() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.STATIC_TOP_LEVEL_DECLARATION, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (1)
super.test_staticTopLevelDeclaration_variable();
}
@override
@failingTest
void test_string_unterminated_interpolation_block() {
+ // TODO(brianwilkerson) Does not recover.
+ // RangeError: Value not in range: -1
+ // dart:core _StringBase.substring
+ // package:front_end/src/fasta/quote.dart 130:12 unescapeLastStringPart
+ // package:analyzer/src/fasta/ast_builder.dart 181:17 AstBuilder.endLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3497:14 Parser.parseSingleLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3434:13 Parser.parseLiteralString
+ // package:front_end/src/fasta/parser/parser.dart 3133:14 Parser.parsePrimary
+ // package:front_end/src/fasta/parser/parser.dart 3097:14 Parser.parseUnaryExpression
+ // package:front_end/src/fasta/parser/parser.dart 2968:13 Parser.parsePrecedenceExpression
+ // package:front_end/src/fasta/parser/parser.dart 2942:11 Parser.parseExpression
+ // package:front_end/src/fasta/parser/parser.dart 2862:13 Parser.parseExpressionStatement
+ // package:front_end/src/fasta/parser/parser.dart 2790:14 Parser.parseStatementX
+ // package:front_end/src/fasta/parser/parser.dart 2722:20 Parser.parseStatement
+ // package:front_end/src/fasta/parser/parser.dart 3792:15 Parser.parseBlock
+ // package:front_end/src/fasta/parser/parser.dart 2732:14 Parser.parseStatementX
+ // package:front_end/src/fasta/parser/parser.dart 2722:20 Parser.parseStatement
+ // package:front_end/src/fasta/parser/parser.dart 2652:15 Parser.parseFunctionBody
+ // package:front_end/src/fasta/parser/parser.dart 1737:13 Parser.parseTopLevelMethod
+ // package:front_end/src/fasta/parser/parser.dart 1646:11 Parser.parseTopLevelMember
+ // package:front_end/src/fasta/parser/parser.dart 298:14 Parser._parseTopLevelDeclaration
+ // package:front_end/src/fasta/parser/parser.dart 263:13 Parser.parseTopLevelDeclaration
+ // package:front_end/src/fasta/parser/parser.dart 252:15 Parser.parseUnit
+ // package:analyzer/src/generated/parser_fasta.dart 77:33 _Parser2.parseCompilationUnit2
+ // package:analyzer/src/generated/parser_fasta.dart 72:12 _Parser2.parseCompilationUnit
+ // test/generated/parser_fasta_test.dart 3272:35 FastaParserTestCase.parseCompilationUnit
super.test_string_unterminated_interpolation_block();
}
@override
@failingTest
void test_switchHasCaseAfterDefaultCase() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.SWITCH_HAS_CASE_AFTER_DEFAULT_CASE, found 0
super.test_switchHasCaseAfterDefaultCase();
}
@override
@failingTest
void test_switchHasCaseAfterDefaultCase_repeated() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 2 errors of type ParserErrorCode.SWITCH_HAS_CASE_AFTER_DEFAULT_CASE, found 0
super.test_switchHasCaseAfterDefaultCase_repeated();
}
@override
@failingTest
void test_switchHasMultipleDefaultCases() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.SWITCH_HAS_MULTIPLE_DEFAULT_CASES, found 0
super.test_switchHasMultipleDefaultCases();
}
@override
@failingTest
void test_switchHasMultipleDefaultCases_repeated() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 2 errors of type ParserErrorCode.SWITCH_HAS_MULTIPLE_DEFAULT_CASES, found 0
super.test_switchHasMultipleDefaultCases_repeated();
}
@override
@failingTest
void test_topLevelOperator_withoutType() {
+ // TODO(brianwilkerson) Does not recover.
+ // type 'DeclaredSimpleIdentifier' is not a subtype of type 'TypeAnnotation' of 'returnType' where
+ // DeclaredSimpleIdentifier is from package:analyzer/src/dart/ast/ast.dart
+ // TypeAnnotation is from package:analyzer/dart/ast/ast.dart
+ //
+ // package:analyzer/src/fasta/ast_builder.dart 1125:33 AstBuilder.endTopLevelMethod
+ // test/generated/parser_fasta_listener.dart 1044:14 ForwardingTestListener.endTopLevelMethod
+ // package:front_end/src/fasta/parser/parser.dart 1741:14 Parser.parseTopLevelMethod
+ // package:front_end/src/fasta/parser/parser.dart 1646:11 Parser.parseTopLevelMember
+ // package:front_end/src/fasta/parser/parser.dart 298:14 Parser._parseTopLevelDeclaration
+ // package:front_end/src/fasta/parser/parser.dart 263:13 Parser.parseTopLevelDeclaration
+ // test/generated/parser_fasta_test.dart 3838:22 ParserProxy.parseTopLevelDeclaration
super.test_topLevelOperator_withoutType();
}
@override
@failingTest
void test_topLevelOperator_withType() {
+ // TODO(brianwilkerson) Does not recover.
+ // type 'DeclaredSimpleIdentifier' is not a subtype of type 'TypeAnnotation' of 'returnType' where
+ // DeclaredSimpleIdentifier is from package:analyzer/src/dart/ast/ast.dart
+ // TypeAnnotation is from package:analyzer/dart/ast/ast.dart
+ //
+ // package:analyzer/src/fasta/ast_builder.dart 1125:33 AstBuilder.endTopLevelMethod
+ // test/generated/parser_fasta_listener.dart 1044:14 ForwardingTestListener.endTopLevelMethod
+ // package:front_end/src/fasta/parser/parser.dart 1741:14 Parser.parseTopLevelMethod
+ // package:front_end/src/fasta/parser/parser.dart 1646:11 Parser.parseTopLevelMember
+ // package:front_end/src/fasta/parser/parser.dart 298:14 Parser._parseTopLevelDeclaration
+ // package:front_end/src/fasta/parser/parser.dart 263:13 Parser.parseTopLevelDeclaration
+ // test/generated/parser_fasta_test.dart 3838:22 ParserProxy.parseTopLevelDeclaration
super.test_topLevelOperator_withType();
}
@override
@failingTest
void test_topLevelOperator_withVoid() {
+ // TODO(brianwilkerson) Does not recover.
+ // type 'DeclaredSimpleIdentifier' is not a subtype of type 'TypeAnnotation' of 'returnType' where
+ // DeclaredSimpleIdentifier is from package:analyzer/src/dart/ast/ast.dart
+ // TypeAnnotation is from package:analyzer/dart/ast/ast.dart
+ //
+ // package:analyzer/src/fasta/ast_builder.dart 1125:33 AstBuilder.endTopLevelMethod
+ // test/generated/parser_fasta_listener.dart 1044:14 ForwardingTestListener.endTopLevelMethod
+ // package:front_end/src/fasta/parser/parser.dart 1741:14 Parser.parseTopLevelMethod
+ // package:front_end/src/fasta/parser/parser.dart 1646:11 Parser.parseTopLevelMember
+ // package:front_end/src/fasta/parser/parser.dart 298:14 Parser._parseTopLevelDeclaration
+ // package:front_end/src/fasta/parser/parser.dart 263:13 Parser.parseTopLevelDeclaration
+ // test/generated/parser_fasta_test.dart 3838:22 ParserProxy.parseTopLevelDeclaration
super.test_topLevelOperator_withVoid();
}
@override
@failingTest
void test_topLevelVariable_withMetadata() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_CONST_FINAL_VAR_OR_TYPE, found 0;
+ // 1 errors of type ParserErrorCode.EXPECTED_TOKEN, found 0;
+ // 1 errors of type ParserErrorCode.MISSING_IDENTIFIER, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (8)
super.test_topLevelVariable_withMetadata();
}
@override
@failingTest
void test_typedef_incomplete() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.UNEXPECTED_TOKEN, found 0;
+ // 1 errors of type ParserErrorCode.EXPECTED_TOKEN, found 0;
+ // 1 errors of type ParserErrorCode.EXPECTED_EXECUTABLE, found 0
super.test_typedef_incomplete();
}
@override
@failingTest
void test_typedef_namedFunction() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_TYPEDEF_PARAMETERS, found 0;
+ // 1 errors of type ParserErrorCode.MISSING_IDENTIFIER, found 0;
+ // 1 errors of type ParserErrorCode.UNEXPECTED_TOKEN, found 0;
+ // 1 errors of type ParserErrorCode.EXPECTED_EXECUTABLE, found 0
super.test_typedef_namedFunction();
}
@override
@failingTest
void test_typedefInClass_withoutReturnType() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.TYPEDEF_IN_CLASS, found 0
super.test_typedefInClass_withoutReturnType();
}
@override
@failingTest
void test_typedefInClass_withReturnType() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.TYPEDEF_IN_CLASS, found 0
super.test_typedefInClass_withReturnType();
}
@override
@failingTest
void test_unexpectedTerminatorForParameterGroup_named() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.UNEXPECTED_TERMINATOR_FOR_PARAMETER_GROUP, found 0
super.test_unexpectedTerminatorForParameterGroup_named();
}
@override
@failingTest
void test_unexpectedTerminatorForParameterGroup_optional() {
+ // TODO(brianwilkerson) Wrong errors:
+ //Expected 1 errors of type ParserErrorCode.UNEXPECTED_TERMINATOR_FOR_PARAMETER_GROUP, found 0
super.test_unexpectedTerminatorForParameterGroup_optional();
}
@override
@failingTest
void test_unexpectedToken_endOfFieldDeclarationStatement() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.UNEXPECTED_TOKEN, found 0
super.test_unexpectedToken_endOfFieldDeclarationStatement();
}
@override
@failingTest
void test_unexpectedToken_invalidPostfixExpression() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.UNEXPECTED_TOKEN, found 0
super.test_unexpectedToken_invalidPostfixExpression();
}
@override
@failingTest
void test_unexpectedToken_returnInExpressionFunctionBody() {
+ // TODO(brianwilkerson) Does not recover.
+ // type 'FormalParameterListImpl' is not a subtype of type 'Token' of 'asyncKeyword' where
+ // FormalParameterListImpl is from package:analyzer/src/dart/ast/ast.dart
+ // Token is from package:front_end/src/scanner/token.dart
+ //
+ // package:analyzer/src/fasta/ast_builder.dart 380:26 AstBuilder.handleExpressionFunctionBody
+ // package:front_end/src/fasta/parser/parser.dart 2621:18 Parser.parseFunctionBody
+ // package:front_end/src/fasta/parser/parser.dart 1737:13 Parser.parseTopLevelMethod
+ // package:front_end/src/fasta/parser/parser.dart 1646:11 Parser.parseTopLevelMember
+ // package:front_end/src/fasta/parser/parser.dart 298:14 Parser._parseTopLevelDeclaration
+ // package:front_end/src/fasta/parser/parser.dart 263:13 Parser.parseTopLevelDeclaration
+ // package:front_end/src/fasta/parser/parser.dart 252:15 Parser.parseUnit
+ // package:analyzer/src/generated/parser_fasta.dart 77:33 _Parser2.parseCompilationUnit2
+ // package:analyzer/src/generated/parser_fasta.dart 72:12 _Parser2.parseCompilationUnit
+ // test/generated/parser_fasta_test.dart 3371:35 FastaParserTestCase.parseCompilationUnit
super.test_unexpectedToken_returnInExpressionFunctionBody();
}
@override
@failingTest
void test_unexpectedToken_semicolonBetweenClassMembers() {
+ // TODO(brianwilkerson) Does not recover.
+ // Expected ClassBody, but found [CompilationUnit, ClassOrNamedMixinApplication, ClassDeclaration, ClassBody, Member]
+ // package:test fail
+ // test/generated/parser_fasta_listener.dart 50:7 ForwardingTestListener.expectIn
+ // test/generated/parser_fasta_listener.dart 55:5 ForwardingTestListener.end
+ // test/generated/parser_fasta_listener.dart 615:5 ForwardingTestListener.endClassBody
+ // package:front_end/src/fasta/parser/parser.dart 2220:14 Parser.parseClassBody
+ // package:front_end/src/fasta/parser/parser.dart 897:13 Parser.parseClass
+ // package:front_end/src/fasta/parser/parser.dart 850:14 Parser.parseClassOrNamedMixinApplication
+ // package:front_end/src/fasta/parser/parser.dart 283:14 Parser._parseTopLevelDeclaration
+ // package:front_end/src/fasta/parser/parser.dart 263:13 Parser.parseTopLevelDeclaration
+ // test/generated/parser_fasta_test.dart 3896:22 ParserProxy.parseTopLevelDeclaration
super.test_unexpectedToken_semicolonBetweenClassMembers();
}
@override
@failingTest
void test_unexpectedToken_semicolonBetweenCompilationUnitMembers() {
+ // TODO(brianwilkerson) Does not recover.
+ // Internal problem: Compiler cannot run without a compiler context.
+ // Tip: Are calls to the compiler wrapped in CompilerContext.runInContext?
+ // package:front_end/src/fasta/compiler_context.dart 81:7 CompilerContext.current
+ // package:front_end/src/fasta/problems.dart 29:25 internalProblem
+ // package:front_end/src/fasta/source/stack_listener.dart 148:7 StackListener.checkEmpty
+ // package:analyzer/src/fasta/ast_builder.dart 1163:5 AstBuilder.endCompilationUnit
+ // package:front_end/src/fasta/parser/parser.dart 255:14 Parser.parseUnit
+ // package:analyzer/src/generated/parser_fasta.dart 77:33 _Parser2.parseCompilationUnit2
+ // package:analyzer/src/generated/parser_fasta.dart 72:12 _Parser2.parseCompilationUnit
+ // test/generated/parser_fasta_test.dart 3371:35 FastaParserTestCase.parseCompilationUnit
super.test_unexpectedToken_semicolonBetweenCompilationUnitMembers();
}
@override
@failingTest
void test_unterminatedString_at_eof() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXPECTED_TOKEN, found 0
super.test_unterminatedString_at_eof();
}
@override
@failingTest
void test_unterminatedString_multiline_at_eof_3_quotes() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXPECTED_TOKEN, found 0
super.test_unterminatedString_multiline_at_eof_3_quotes();
}
@override
@failingTest
void test_unterminatedString_multiline_at_eof_4_quotes() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXPECTED_TOKEN, found 0
super.test_unterminatedString_multiline_at_eof_4_quotes();
}
@override
@failingTest
void test_unterminatedString_multiline_at_eof_5_quotes() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.EXPECTED_TOKEN, found 0
super.test_unterminatedString_multiline_at_eof_5_quotes();
}
@override
@failingTest
void test_useOfUnaryPlusOperator() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.MISSING_IDENTIFIER, found 0
super.test_useOfUnaryPlusOperator();
}
@override
@failingTest
void test_varAndType_field() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.VAR_AND_TYPE, found 0
super.test_varAndType_field();
}
@override
@failingTest
void test_varAndType_local() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.VAR_AND_TYPE, found 0
super.test_varAndType_local();
}
@override
@failingTest
void test_varAndType_parameter() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.VAR_AND_TYPE, found 0
super.test_varAndType_parameter();
}
@override
@failingTest
void test_varAndType_topLevelVariable() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.VAR_AND_TYPE, found 0
super.test_varAndType_topLevelVariable();
}
@override
@failingTest
void test_varAsTypeName_as() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.VAR_AS_TYPE_NAME, found 0
super.test_varAsTypeName_as();
}
@override
@failingTest
void test_varClass() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.VAR_CLASS, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 2 (1, 5)
super.test_varClass();
}
@override
@failingTest
void test_varEnum() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.VAR_ENUM, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 2 (1, 5)
super.test_varEnum();
}
@override
@failingTest
void test_varReturnType() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.VAR_RETURN_TYPE, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 1 (0)
super.test_varReturnType();
}
@override
@failingTest
void test_varTypedef() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.VAR_TYPEDEF, found 0;
+ // 0 errors of type ParserErrorCode.EXTRANEOUS_MODIFIER, found 2 (1, 5)
super.test_varTypedef();
}
@override
- @failingTest
- void test_voidParameter() {
- super.test_voidParameter();
- }
-
- @override
// @failingTest
void test_voidVariable_parseClassMember_initializer() {
// TODO(brianwilkerson) Passes, but ought to fail.
@@ -1974,30 +3162,42 @@ class ErrorParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
void test_withBeforeExtends() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.WITH_BEFORE_EXTENDS, found 0
super.test_withBeforeExtends();
}
@override
@failingTest
void test_withWithoutExtends() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.WITH_WITHOUT_EXTENDS, found 0
super.test_withWithoutExtends();
}
@override
@failingTest
void test_wrongSeparatorForPositionalParameter() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.WRONG_SEPARATOR_FOR_POSITIONAL_PARAMETER, found 0
super.test_wrongSeparatorForPositionalParameter();
}
@override
@failingTest
void test_wrongTerminatorForParameterGroup_named() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.WRONG_TERMINATOR_FOR_PARAMETER_GROUP, found 0;
+ // 1 errors of type ScannerErrorCode.EXPECTED_TOKEN, found 0
super.test_wrongTerminatorForParameterGroup_named();
}
@override
@failingTest
void test_wrongTerminatorForParameterGroup_optional() {
+ // TODO(brianwilkerson) Wrong errors:
+ // Expected 1 errors of type ParserErrorCode.WRONG_TERMINATOR_FOR_PARAMETER_GROUP, found 0;
+ // 1 errors of type ScannerErrorCode.EXPECTED_TOKEN, found 0
super.test_wrongTerminatorForParameterGroup_optional();
}
}
@@ -4181,12 +5381,6 @@ class SimpleParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
- void test_parseTypeParameterList_parameterizedWithTrailingEquals() {
- super.test_parseTypeParameterList_parameterizedWithTrailingEquals();
- }
-
- @override
- @failingTest
void test_parseTypeParameterList_single() {
// TODO(brianwilkerson) Does not use all tokens.
super.test_parseTypeParameterList_single();
@@ -4194,12 +5388,6 @@ class SimpleParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
- void test_parseTypeParameterList_withTrailingEquals() {
- super.test_parseTypeParameterList_withTrailingEquals();
- }
-
- @override
- @failingTest
void test_parseVariableDeclaration_equals() {
// TODO(brianwilkerson) exception:
// NoSuchMethodError: Class 'ParserProxy' has no instance method 'parseVariableDeclaration'.
« 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