-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the
defaultImpl
parameter from Closure Delegates helper meth…
…ods. Callers are instead encouraged to explicitly check the number of registered delegates, or use the nullish coalescing operator on the result of the helper method as in `callFirst(delegates, (d) => ...) ?? defaultValue` RELNOTES[INC]: Remove the `defaultImpl` parameter from Closure Delegates helper methods. PiperOrigin-RevId: 510550303 Change-Id: Ia405b30a0bab5b8bf995b05870f74ce933252d1f
- Loading branch information
Closure Team
authored and
Copybara-Service
committed
Feb 18, 2023
1 parent
1703a95
commit ab6fa71
Showing
2 changed files
with
10 additions
and
51 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
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