-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
init(styles: StyleParameter...)
to Color.Wrap
.
As of `swift-600��.0.57.3`, the following statement errors: «Extra argument 'style' in call» `Color.Wrap(style: .Bold)` Removing the supposedly "extra" argument 'style' errors: «'().Type' does not have a member named 'Bold'» `Color.Wrap(.Bold)` The true problem appears to be the ambiguity between the two functions of the form `init(foreground:background:style:)`. `init(styles: StyleParameter...)` for `Color.Wrap` creates a non-ambiguous initializer.
- Loading branch information
Showing
2 changed files
with
22 additions
and
0 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