Skip to content

Commit 4c0121f

Browse files
johnniwintherCommit Queue
authored andcommitted
[cfe] Run ErrorCommentCheck last
This allows seeing the generated AST before failing on error comment discrepancies. Change-Id: I9d43c37a9b5922818c58928056c194867d378056 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/408521 Reviewed-by: Jens Johansen <[email protected]> Commit-Queue: Johnni Winther <[email protected]>
1 parent 19622c5 commit 4c0121f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/front_end/test/testing/suite.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,11 +269,11 @@ class FastaContext extends ChainContext with MatchContext {
269269
this.soundNullSafety)
270270
: steps = <Step>[
271271
new Outline(compileMode, updateComments: updateComments),
272-
new ErrorCommentChecker(compileMode),
273272
const Print(),
274273
new Verify(compileMode == CompileMode.full
275274
? VerificationStage.afterConstantEvaluation
276-
: VerificationStage.outline)
275+
: VerificationStage.outline),
276+
new ErrorCommentChecker(compileMode),
277277
],
278278
suiteFolderOptions = new SuiteFolderOptions(baseUri),
279279
suiteTestOptions = new SuiteTestOptions() {

0 commit comments

Comments
 (0)