Skip to content

support for const fields of Julia 1.8? #340

Closed
@mind6

Description

@mind6

Currently if using 1.8RC3, the following gives a parse error:

mutable struct S
    const x::Int
    y::Int
end

But it's allowed in 1.8 as one of the new language features: https://github.com/JuliaLang/julia/blob/v1.8.0-beta1/NEWS.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions