Skip to content

const without assignment should be an error except in struct #129

@c42f

Description

@c42f

Having copied the flisp parser's behavior, we also suffer from the following bug:

JuliaLang/julia#45024

That is, the following should be an error but it's not

julia> JuliaSyntax.parse(Expr, "const a")
:(const a)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingparser

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions