Skip to content

Commit

Permalink
test: fix syntax test n37134
Browse files Browse the repository at this point in the history
  • Loading branch information
inkydragon committed Jan 30, 2025
1 parent a213bae commit 601e395
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/syntax.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2454,7 +2454,9 @@ end
@test_throws MethodError @m37134()(1.0) == 62

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

Expand Down

0 comments on commit 601e395

Please sign in to comment.