Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for
@Option(transform:)
with optional type (#619)
Due to the restructuring in #477, there was ambiguity between the unconstrained `@Option` initializer that uses a transform (but no initial value) and the one that is constrained to the property being optional. This marks the unconstrained version as disfavored, which allows overload resolution to select the optional version when appropriate. Also fixes this for `@Argument` and improves documentation consistency for `@Option`. Fixes #618.
- Loading branch information