Skip to content

Some cascading errors aren't reported by the CFE anymore and should be removed from tests #1305

@chloestefantsova

Description

@chloestefantsova

The CLs https://dart-review.googlesource.com/c/sdk/+/233363 and https://dart-review.googlesource.com/c/sdk/+/233382 prevent certain errors from being reported in some of the cases where that was caused by a recovery from another error. The error reporting in those cases is now in agreement to Analyzer. The following tests should be updated to reflect the changes.

Language/Functions/Formal_Parameters/Optional_Formals/syntax_t12.dart

This test should be updated in branches master and pre-nnbd. The following expectations of an error from the CFE should be removed.

Language/Functions/Formal_Parameters/Optional_Formals/syntax_t13.dart

This test should be updated in branch pre-nnbd. The following expectation of an error from the CFE should be removed.

Language/Functions/Formal_Parameters/Required_Formals/syntax_t03.dart

This test should be updated in branches master and pre-nnbd. The following expectations of an error from the CFE should be removed.

Language/Enums/syntax_t08.dart

This test should be updated in branches master and pre-nnbd. The following expectations of an error from the CFE should be removed.

E e = E.b;
// ^
// [cfe] unspecified

E e = E.b;
// ^
// [cfe] unspecified

Language/Enums/syntax_t09.dart

This test should be updated in branches master and pre-nnbd. The following expectations of an error from the CFE should be removed.

E e = E.b;
// ^
// [cfe] unspecified

E e = E.b;
// ^
// [cfe] unspecified

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions