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
Julia now supports annotating individual fields of a mutable struct with const annotations. It would be nice if Parameters.jl allowed it, as
@with_kw mutable struct T x::Int const y::Float64 end
The text was updated successfully, but these errors were encountered:
Yes that would be an excellent addition.
Note that Base.@kwdef does support this. So, with a re-write of Parameters on top of @kwdef, this would be taken care of.
Base.@kwdef
@kwdef
Sorry, something went wrong.
No branches or pull requests
Julia now supports annotating individual fields of a mutable struct with const annotations. It would be nice if Parameters.jl allowed it, as
The text was updated successfully, but these errors were encountered: