If we define a default value for all optional arguments, we no
longer need to explicitly declare whether the argument is required.
Instead, we can derive it from the presence of a default value
callable.
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG582676acaf6d: wireprotov2: derive "required" from presence of default value
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped