-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to initialize a list / collection option from a set? #331
Comments
The type contraints on
|
Thanks, I ended up using |
You should also be able to do |
No, thanks, I don't want to add another |
If in the following code
PackageManager.ALL
is a set:It does not compile as
default()
expects to get a list. I tried to play withunique()
, but failed to find a syntax that compiles as wanted. In the end, I'd also like thepackageManagers
option to be a set.Any hints?
The text was updated successfully, but these errors were encountered: