Skip to content

Commit

Permalink
Apply review feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
munificent committed Jan 11, 2024
1 parent e8966c1 commit 127ebfa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/src/front_end/chain_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ class ChainBuilder {
}
}

/// Creates a Piece for [target].
/// Creates and stores the resulting Piece for [target] as well as whether it
/// allows being split.
void _visitTarget(Expression target) {
_allowSplitInTarget = target.canBlockSplit;
_target = _visitor.nodePiece(target);
Expand Down
4 changes: 3 additions & 1 deletion lib/src/piece/chain.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ import 'piece.dart';
/// .method(
/// argument,
/// argument,
/// ).another.method(
/// )
/// .another
/// .method(
/// argument,
/// argument,
/// );
Expand Down

0 comments on commit 127ebfa

Please sign in to comment.