Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: add test coverage and fixes for #466
- Start of a fix for issue 466. After an initial read through the code it feels like there more @argument initializers than needed and this logic can probably be reudced and simplified. - Fixes isOptional derivision for non-Optional @arguments with default values, however the simple solution doesn't work properly for Optional @arguments without a non-nil default value.
- Loading branch information
Showing
16 changed files
with
2,029 additions
and
683 deletions.
There are no files selected for viewing
622 changes: 376 additions & 246 deletions
622
Sources/ArgumentParser/Parsable Properties/Argument.swift
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
Oops, something went wrong.