forked from apple/swift-argument-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Eliminate warnings re: CommandConfiguration init (apple#636)
When the old (pre-aliases) initializer has all its default parameter values, it is selected as the overload because it has fewer parameters overall. Removing the default parameters allows it to still satisfy (very niche) source compat requirements without actually being available as an overload. (Also resolves an extra warning in the tests)
- Loading branch information
1 parent
cfac15f
commit 7f4ce2d
Showing
2 changed files
with
13 additions
and
11 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