JuliaLang / JuliaLang/JuliaSyntax.jl

test failed when update JuliaSyntax.jl for julia

Open
#532 0 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Julia
Stars
293
Forks
50
PR merge metrics
No merged PRs in 30d

Description

Not sure if those are bugs:

```julia
# issue https://github.com/JuliaLang/julia/issues/21168
@test_broken Meta.lower(Main, :(a.[1])) == Expr(:error, "invalid syntax \"a.[1]\"")
@test_broken Meta.lower(Main, :(a.{1})) == Expr(:error, "invalid syntax \"a.{1}\"")

# issue https://github.com/JuliaLang/julia/issues/26739
let exc = try Core.eval(@__MODULE__, :(sin.[1])) catch exc ; exc end
@test_broken exc isa ErrorException
@test_broken startswith(exc.msg, "syntax: invalid syntax \"sin.[1]\"")
end
```

And this one,

```diff
macro n37134()
- :($(esc(Expr(:tuple, Expr(:..., :x))))->$(esc(:x)))
+ quote
+ ((x...,)) -> (x)
+ end |> esc
end
@test @n37134()(2,1) === (2,1)
```

xref: https://github.com/JuliaLang/julia/pull/57188

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.