File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,14 @@ import '../ast_extensions.dart';
1010import '../constants.dart' ;
1111import '../dart_formatter.dart' ;
1212import '../piece/assign.dart' ;
13- import '../piece/bound.dart' ;
1413import '../piece/case.dart' ;
1514import '../piece/constructor.dart' ;
1615import '../piece/control_flow.dart' ;
1716import '../piece/infix.dart' ;
1817import '../piece/list.dart' ;
1918import '../piece/piece.dart' ;
2019import '../piece/type.dart' ;
20+ import '../piece/type_parameter_bound.dart' ;
2121import '../piece/variable.dart' ;
2222import '../profile.dart' ;
2323import '../source_code.dart' ;
@@ -1852,7 +1852,7 @@ final class AstNodeVisitor extends ThrowingAstVisitor<void> with PieceFactory {
18521852 pieces.visit (bound);
18531853 });
18541854
1855- pieces.add (BoundPiece (typeParameterPiece, boundPiece));
1855+ pieces.add (TypeParameterBoundPiece (typeParameterPiece, boundPiece));
18561856 } else {
18571857 // No bound.
18581858 pieces.token (node.name);
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import 'piece.dart';
1010/// Handles not splitting before `extends` if we can split inside the bound's
1111/// own type arguments, or splitting before `extends` if that isn't enough to
1212/// get it to fit.
13- final class BoundPiece extends Piece {
13+ final class TypeParameterBoundPiece extends Piece {
1414 /// Split inside the type arguments of the bound, but not at `extends` , as in:
1515 ///
1616 /// class C<
@@ -35,7 +35,7 @@ final class BoundPiece extends Piece {
3535 /// The bound with the preceding `extends` keyword.
3636 final Piece _bound;
3737
38- BoundPiece (this ._typeParameter, this ._bound);
38+ TypeParameterBoundPiece (this ._typeParameter, this ._bound);
3939
4040 @override
4141 List <State > get additionalStates => const [_insideBound, _beforeExtends];
You can’t perform that action at this time.
0 commit comments