Skip to content

Conversation

@natebosch
Copy link
Member

Fixes #285

Previously if the library had any matching annotations we would always
output something - either the String "null" or empty lines.

Skip outputs that are null or empty. Add a regression test.

Fixes #285

Previously if the library had any matching annotations we would always
output something - either the String "null" or empty lines.

Skip outputs that are null or empty. Add a regression test.
Copy link
Contributor

@matanlurey matanlurey left a comment

Choose a reason for hiding this comment

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

Nice!

@natebosch natebosch merged commit bfc9960 into master Dec 14, 2017
@natebosch natebosch deleted the empty-output-for-annotation branch December 14, 2017 22:11
mosuem pushed a commit to dart-lang/build that referenced this pull request Dec 10, 2024
Fixes dart-lang/source_gen#285

Previously if the library had any matching annotations we would always
output something - either the String "null" or empty lines.

Skip outputs that are null or empty. Add a regression test.
mosuem pushed a commit to dart-lang/build that referenced this pull request Dec 10, 2024
Fixes dart-lang/source_gen#285

Previously if the library had any matching annotations we would always
output something - either the String "null" or empty lines.

Skip outputs that are null or empty. Add a regression test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants