Skip to content

Difference in parsing x.[y] to Expr #396

Open
@c42f

Description

@c42f

Likely due to #325 we have the following difference:

julia> dump(parsestmt(Expr, "x.[y]"))
Expr
  head: Symbol .
  args: Array{Any}((2,))
    1: Symbol x
    2: QuoteNode
      value: Expr
        head: Symbol vect
        args: Array{Any}((1,))
          1: Symbol y

julia> dump(JuliaSyntax.fl_parse(Expr, "x.[y]"))
Expr
  head: Symbol .
  args: Array{Any}((2,))
    1: Symbol x
    2: Expr
      head: Symbol quote
      args: Array{Any}((1,))
        1: Expr
          head: Symbol vect
          args: Array{Any}((1,))
            1: Symbol y

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions