Skip to content

Commit 5376d30

Browse files
committed
Don't break benchmark runner.
1 parent 503da82 commit 5376d30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/front_end/ast_node_visitor.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class AstNodeVisitor extends ThrowingAstVisitor<void> with PieceFactory {
6969
///
7070
/// If there is a `// dart format width=123` comment before the formatted
7171
/// code, then [pageWidthFromComment] is that width.
72-
SourceCode run(SourceCode source, AstNode node, int? pageWidthFromComment) {
72+
SourceCode run(SourceCode source, AstNode node, [int? pageWidthFromComment]) {
7373
Profile.begin('AstNodeVisitor.run()');
7474

7575
Profile.begin('AstNodeVisitor build Piece tree');

0 commit comments

Comments
 (0)