• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

JuliaLang / julia / 1451
77%

Build:
DEFAULT BRANCH: master
Ran 23 Feb 2026 11:34AM UTC
Jobs 3
Files 350
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Feb 2026 11:40PM UTC coverage: 76.916%. First build
1451

push

buildkite

web-flow
fix: re-parsable printing of vararg anon func defs (#54019)

Currently, anonymous function definitions with one slurping argument are
not printed in a re-parsable way:
```
julia> Meta.parse("(a...) -> a")
:(a...->begin
          #= none:1 =#
          a
      end)

julia> Meta.parse(repr(Meta.parse("(a...) -> a")))
ERROR: ParseError:
# Error @ none:1:7
#     ┌──────
:(a...->begin
          #= none:1 =#
          a
#─────────┘ ── Expected `)`
Stacktrace:
 [1] #parse#3
   @ ./meta.jl:244 [inlined]
 [2] parse
   @ ./meta.jl:236 [inlined]
 [3] parse(str::String; filename::String, raise::Bool, depwarn::Bool)
   @ Base.Meta ./meta.jl:278
 [4] parse(str::String)
   @ Base.Meta ./meta.jl:276
 [5] top-level scope
   @ REPL[2]:1
   ```

This PR wraps the argument list in a `(:tuple, ...)`, much like what we are already doing for normal functions:
```
julia> Meta.parse("function (a...) end")
:(function (a...,)
      #= none:1 =#
      #= none:1 =#
  end)
```

Technically neither of those are entirely correct (since they're not idempotent). A fix for that is more involved, but I can take a look at that as well if necessary.

---------

Co-authored-by: Andy Dienes <51664769+adienes@users.noreply.github.com>

1 of 2 new or added lines in 1 file covered. (50.0%)

63301 of 82299 relevant lines covered (76.92%)

23313300.84 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
71.59
base/show.jl
Jobs
ID Job ID Ran Files Coverage
1451 windows-coverage - 1451 23 Feb 2026 03:39PM UTC 319
75.15
1451 linux-coverage - 1451 23 Feb 2026 04:15PM UTC 349
75.45
1451 macos-coverage - 1451 23 Feb 2026 11:34AM UTC 350
74.97
Source Files on build 1451
  • Tree
  • List 350
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 52e04af4 on github
  • Prev Build on master (#1450)
  • Next Build on master (#1452)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc