Skip to content

Conversation

natebosch
Copy link
Member

Closes #724

The 3 places where a Dart unit can be output are as a LibraryBuildr,
as a PartBuilder, or as a combined part. SharedPartBuilder output
does not need the width comment. Add a constant for the comment and use
it while writing each of the 3 types of output.

Closes #724

The 3 places where a Dart unit can be output are as a `LibraryBuildr`,
as a `PartBuilder`, or as a combined part. `SharedPartBuilder` output
does not need the width comment. Add a constant for the comment and use
it while writing each of the 3 types of output.
@natebosch natebosch requested a review from munificent October 9, 2024 00:01
Copy link
Member

@munificent munificent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the quick turnaround!

@natebosch natebosch merged commit da1190d into master Oct 9, 2024
12 checks passed
@natebosch natebosch deleted the width-configuration branch October 9, 2024 02:17
mosuem pushed a commit to dart-lang/build that referenced this pull request Dec 10, 2024
Closes dart-lang/source_gen#724

The 3 places where a Dart unit can be output are as a `LibraryBuildr`,
as a `PartBuilder`, or as a combined part. `SharedPartBuilder` output
does not need the width comment. Add a constant for the comment and use
it while writing each of the 3 types of output.
mosuem pushed a commit to dart-lang/build that referenced this pull request Dec 10, 2024
Closes dart-lang/source_gen#724

The 3 places where a Dart unit can be output are as a `LibraryBuildr`,
as a `PartBuilder`, or as a combined part. `SharedPartBuilder` output
does not need the width comment. Add a constant for the comment and use
it while writing each of the 3 types of output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add "// dart format width=80" comment in generated code

2 participants