JuliaLang / JuliaLang/JuliaSyntax.jl

Difference in parsing `x.[y]` to `Expr`

Open
#396 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
293
Forks
50
PR merge metrics
No merged PRs in 30d

Description

Likely due to #325 we have the following difference:

```julia
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
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.