We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Is it possible to do something like
@with_kw struct A{T,S} a::T = 1 S = String end
or something like
@with_kw struct A{T,S} a::T = 1 S = a==1 end
The text was updated successfully, but these errors were encountered:
No (at least if I understand your request correctly). Something like
@with_kw struct A{T,S = 6} a::T = 1 end
would probably be a good syntax.
Anyway, I don't plan to add that feature. And I would probably be a bit hesitant to look into a PR, but could be convinced.
Sorry, something went wrong.
No branches or pull requests
Hi,
Is it possible to do something like
or something like
The text was updated successfully, but these errors were encountered: