Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow duplicate @Suppress tags by collecting the union of suppressions.
This makes it much easier for automated tools to add to the list of suppressions for a file without having to parse and merge JSDoc, just by appending to an existing @fileoverview comment. This reduces errors reported from human authored code, but it seems unlikely that a duplicate @Suppress tag is an actual mistake – human authored code usually has all suppress tags in the same line in a short comment, so it seems unlikely that anybody would accidentally add a dupe. On top of that, it seems fairly clear that taking the union of suppressions is the intended behaviour when having multiple @Suppress tags. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=204550634
- Loading branch information
Showing
7 changed files
with
17 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters